A multimodal physiotherapy robot and method

By using pneumatic tendon-driven silicone palms and fingers in the physiotherapy robot, combined with quick-change devices and sensors, the problem that existing physiotherapy robots cannot simulate human hand massage and single physiotherapy techniques is solved, achieving multi-functional automated operation and high-safety physiotherapy. Effect.

CN118046399BActive Publication Date: 2024-10-11SHENYANG UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410251974.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2024-10-11
Estimated Expiration
2044-03-06

AI Technical Summary

Technical Problem

Existing physiotherapy robots have rigid probes that cannot simulate human hand massage techniques and touch, poor stability, single physiotherapy techniques, the inability to automatically replace probes, single control methods and a lack of human body and equipment protection measures, resulting in low safety in the physiotherapy process.

Method used

A multi-modal physiotherapy robot is designed, which uses a robotic arm and a multi-modal physiotherapy probe. The probe drives the movement of the silicone palm and fingers through pneumatic tendons. It is combined with a quick-change device, a depth camera, a six-dimensional force sensor and a membrane pressure sensor to achieve Automated operation and precise control of multifunctional physical therapy techniques.

Benefits of technology

It achieves the massage and physiotherapy effect of simulating human hands, enhances the stability and impact resistance of the structure, improves the safety and intelligence of the physiotherapy process, reduces the operating burden, and provides a personalized physiotherapy level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118046399B_ABST
    Figure CN118046399B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of physiotherapy robots, and in particular to a multimodal physiotherapy robot and method. The multimodal physiotherapy probe drives a silicone palm to move through a pneumatic tendon, a silicone finger is arranged in the silicone palm, and the silicone palm cooperates with the silicone palm to realize multifunctional and anthropomorphic physiotherapy techniques; the multimodal physiotherapy probe is connected to a mechanical arm through a quick replacement device to realize fast and automatic loading and unloading between the multimodal physiotherapy probe and the mechanical arm; an efficient operation task motion planning method based on task decomposition and classification is adopted, so that the physiotherapy task can be intelligently planned and executed; a thin film pressure sensor is arranged in the silicone finger, a six-dimensional force sensor is arranged between the multimodal physiotherapy probe and the mechanical arm, and a force-position hybrid control method is adopted to realize accurate measurement and control of contact force.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of physiotherapy robots, and in particular to a multimodal physiotherapy robot and method. Background Art

[0002] In order to meet the needs of the aging trend and the fast pace of modern life, people's demand for traditional Chinese medicine physiotherapy is increasing. However, the number of existing physiotherapists is limited, and their physical strength cannot meet the growing demand. The effect of physiotherapy is affected by many factors, including physiotherapist experience, manipulation strength, position, time and frequency. With the development of robotics technology, robotic physiotherapy has gradually become one of the representatives in the field of physiotherapy. However, there are some problems with physiotherapy robots in the existing technology:

[0003] (1) Rigid physiotherapy probes cannot simulate the massage techniques and touch of human hands, and have poor stability and impact resistance, which can easily cause damage to the human body and equipment.

[0004] (2) The therapy probe has a single therapy technique and cannot simulate the therapy techniques of the palm and fingers at the same time.

[0005] (3) When replacing the probe, manual operation is required, and automatic loading and unloading of the probe cannot be achieved.

[0006] (4) The control method has a single function and the planning and execution of physical therapy tasks are not intelligent enough.

[0007] (5) There is a lack of protective measures for the human body and equipment, and the safety of the physical therapy process is low. Summary of the invention

[0008] In order to solve the deficiencies of the prior art, the present invention provides a multimodal physiotherapy robot and method.

[0009] The multimodal therapy robot includes a robotic arm and a multimodal therapy probe, which is connected to the end of the robotic arm. The multimodal therapy probe includes an upper connection plate of the therapy probe and a lower connection plate of the therapy probe. A silicone palm is connected to the lower surface of the lower connection plate of the therapy probe. The upper connection plate of the therapy probe and the lower connection plate of the therapy probe are arranged parallel to each other and are connected by a plurality of pneumatic tendons. The therapy probe controller controls the pneumatic tendons. The pneumatic tendon is a rigid-flexible coupling structure, which can drive the lower connection plate of the therapy probe to vibrate together, thereby driving the silicone palm to move.

[0010] The silicone palm is provided with a plurality of finger holes, silicone fingers are arranged in the finger holes, a cylinder is arranged at a position corresponding to the finger holes on the upper surface of the lower connecting plate of the physiotherapy probe, and the cylinder rod of the cylinder is inserted into the finger holes and connected to the silicone fingers; the cylinder can drive the silicone fingers to extend and retract in the finger holes.

[0011] The multimodal therapy robot also includes a quick-change device, through which the multimodal therapy probe is connected to the robotic arm, the quick-change device includes an upper connecting plate of the quick-change device and a lower connecting plate of the quick-change device, the upper connecting plate of the quick-change device is connected to the robotic arm, and the lower connecting plate of the quick-change device is connected to the multimodal therapy probe, the upper connecting plate of the quick-change device is provided with an electromagnet, and the upper surface of the lower connecting plate of the quick-change device is provided with a locking plate of ferromagnetic material, when the electromagnet is energized, the locking plate can be adsorbed, so that the upper connecting plate of the quick-change device is tightly connected with the lower connecting plate of the quick-change device; when the electromagnet is powered off, the upper connecting plate of the quick-change device is detached from the lower connecting plate of the quick-change device.

[0012] A camera connection plate is arranged between the multimodal therapy probe and the mechanical arm, and the camera connection plate is connected to a depth camera. The depth camera can identify the coordinate positions of the multimodal therapy probe and the user.

[0013] The multimodal physiotherapy robot also includes a control host, which controls the movement of the robotic arm. The control host has a built-in expert system, and the user can select a physiotherapy method through the control host. The expert system provides the user with a physiotherapy plan, which includes a physiotherapy probe, physiotherapy points, physiotherapy trajectory and physiotherapy time information. The control host can plan tasks for the physiotherapy process; a quick-change device control slot is provided on the side of the quick-change device upper connecting disk, and a quick-change device controller is provided in the quick-change device control slot. The quick-change device controller is electrically connected to the electromagnet, and the quick-change device controller controls the electromagnet; a physiotherapy probe control box is fixedly connected to the upper connecting disk of the physiotherapy probe, and a physiotherapy probe controller is provided in the physiotherapy probe control box, and the physiotherapy probe controller controls the pneumatic tendon and the cylinder; the physiotherapy probe controller and the quick-change device controller are both electrically connected to the control host, and the control host controls the physiotherapy probe controller and the quick-change device controller.

[0014] A six-dimensional force sensor is arranged between the multimodal therapy probe and the mechanical arm, and the six-dimensional force sensor is connected to the control host. The six-dimensional force sensor can measure the pressing force and feed back the measurement signal to the control host in real time.

[0015] A thin film pressure sensor is arranged in the silicone finger, and the thin film pressure sensor is connected to the control host. The thin film pressure sensor can measure the pressure between the silicone finger and the human body and feed back the measurement signal to the control host in real time. When the multimodal physiotherapy probe is subjected to external impact, the thin film pressure sensor can detect the impact pressure and send a signal to the control host. The control host sends a control signal to the probe controller, and the probe controller controls the pneumatic tendon to contract rapidly.

[0016] The silicone palm adopts the silicone casting process, and a heating resistance wire is arranged in the silicone palm. The silicone fingers adopt the silicone casting process, and a vibration motor is arranged in the silicone fingers. The vibration motor can make the silicone fingers vibrate at a high frequency.

[0017] The present invention also provides a method for using the multimodal physiotherapy robot, comprising the following steps:

[0018] Step 1: The user takes his place and selects a therapy plan on the control host. The expert system provides information including the selection of therapy probes, therapy points, therapy trajectories and therapy time.

[0019] Step 2: The control host uses a task motion planning method based on task decomposition and classification to plan the physical therapy process into subtasks described by basic motions;

[0020] Step 3: The control host uses the depth camera to identify the three-dimensional world coordinates of all different physiotherapy probes to obtain the world coordinates of all physiotherapy probes. The depth camera sends and records the world coordinates of all physiotherapy probes to the control host. The control host selects the physiotherapy probe according to the task requirements and controls the quick replacement device to replace the physiotherapy probe.

[0021] Step 4: The control host uses the depth camera to perform image recognition on the three-dimensional contour image of the human body to obtain the three-dimensional coordinates of all physiotherapy points. The depth camera sends and records the world coordinate system data of the human body physiotherapy points to the control host; the control host controls the mechanical arm to drive the physiotherapy probe to move to the physiotherapy point according to the world coordinates of the human body physiotherapy point, and the physiotherapy probe starts the physiotherapy operation after arriving at the physiotherapy point;

[0022] Step 5. After the therapy probe completes the therapy operation, the control host determines whether the next task needs to be performed based on the subtask given in the step; if only the therapy point needs to be replaced, the control host adjusts the position of the robot arm according to the world coordinates of the therapy point saved in the step, and performs the next subtask; if only the therapy probe needs to be replaced, the control host controls the robot arm to move the therapy probe to the unloading position based on the world coordinates of the therapy probe saved in the step, and the quick replacement device automatically unloads the therapy probe; if the therapy probe and the therapy point need to be replaced, the control host controls the robot arm and the quick replacement device to replace the therapy probe. After the therapy probe is replaced, the control host changes the position of the robot arm according to the world coordinates of the therapy point, and the therapy probe performs the next subtask; if all therapy tasks are completed, the control host controls the robot arm and the quick replacement device to unload the therapy probe, and the robot arm returns to its initial position.

[0023] The present invention also provides a control method for a multimodal physiotherapy robot, comprising the following steps:

[0024] S1. Calibrate the visual system. The depth camera recognizes the coordinate point (x w ,y w ,z w ) T, the control host controls the mechanical arm to drive the therapy probe to move to the therapy point;

[0025] S1.1. Obtain the point (u, v) of the object in the pixel coordinate system through the depth camera T and depth value z;

[0026] S1.2, the point (u, v) in the pixel coordinate system T Converted to the coordinates in the camera coordinate system (x c ,y c ,z c ) T , the conversion formula is as follows:

[0027]

[0028] Where f is the physical focal length of the camera, d x is the length of a pixel, d y is the width of the pixel; K represents the intrinsic parameter matrix of the camera, which is obtained through camera calibration.

[0029] f x =f / d x and f y =f / d y is the normalized focal length of the camera;

[0030] S1.3. Convert the camera coordinate system obtained by hand-eye calibration of the depth camera into the robot base coordinate system. The conversion formula is as follows:

[0031]

[0032] Thus, the coordinate point (x w ,y w ,z w ) T .

[0033] Among them, X is the conversion relationship between the camera coordinate system and the robot end coordinate system, is the transformation relationship between the robot base coordinate system and the robot end coordinate system,

[0034]

[0035] R is the rotation matrix of the coordinate transformation between the robot arm coordinate system and the robot end coordinate system, and T is the translation matrix of the coordinate transformation between the robot arm coordinate system and the robot end coordinate system;

[0036] S2, using quintic polynomial interpolation for trajectory planning, the trajectory function θ(t) is:

[0037] θ(t)=a0+a1t+a2t 2 +a3t 3 +a4t 4 +a5t 5

[0038] The joint velocity and acceleration on the motion trajectory are:

[0039]

[0040] in,

[0041]

[0042] θ0 is the starting angle of the joint, θ f is the end point angle of the joint, is the angular velocity of the joint at the starting point, is the angular velocity of the joint’s end point, is the starting point of the joint, is the angular acceleration of the joint end point, t f is the end time;

[0043] S3, after the therapy probe reaches the designated position, the force of the therapy probe is controlled by force-position hybrid control;

[0044] S3.1. Generalized force F expected at the end t The input parameter is subtracted from the force F measured by the force sensor to obtain the force correction value (force deviation) F t -F, the transposed matrix J after PI parameter adjustment and Jacobian matrix T Multiply the matrix with to get the first part of the joint control torque And constitute the negative feedback loop of the force control part; among them, K f_p is the proportional coefficient of the force feedback loop, K f_i is the integral coefficient of the force feedback loop, S is the selection matrix, is the conjugate matrix of the selected matrix S;

[0045] S3.2. The generalized force F1 generated by the current end and the transposed matrix J of the Jacobian matrix T Perform matrix multiplication to obtain the second part of the joint control torque

[0046] S3.3, with the expected position x t is the input parameter, and the position correction value (position deviation) x is obtained by subtracting it from the actual position x t -x, adjusted by PI parameters and combined with the inverse of the Jacobian matrix J -1 Matrix multiplication with the inertia force compensation term M(q) yields the third joint control torque M(q)(Kx_p +K x_i / s)J -1 S(x t -x); the actual position x is obtained by multiplying the joint velocity q with the Jacobian matrix J, K x_p is the proportional coefficient of the position loop, K x_i is the integral coefficient of the position loop;

[0047] S3.4, at the expected speed is the input parameter, and the actual speed Subtract and get the speed correction value (speed deviation) After PD parameter adjustment and the inverse J of the Jacobian matrix -1 Matrix multiplication with the inertia force compensation term M(q) gives the fourth part of the joint control torque The actual speed The joint angular velocity K is obtained by multiplying the Jacobian matrix J. v_d is the proportional coefficient of the speed loop;

[0048] S3.5, with expected acceleration As input parameters, Difference, and at the same time with the inverse of the Jacobian matrix J -1 Multiply the matrix with the inertia term M(q) to get the fifth part of the joint control torque in is the derivative of the Jacobian matrix;

[0049] S3.6. Add the first joint control torque, the second joint control torque, the third joint control torque, the fourth joint control torque, the fifth joint control torque, the Coriolis force, and the gravity compensation to obtain the overall joint control torque τ.

[0050]

[0051] , where M(q) is the inertia term; is the Coriolis force term, and g(q) is the gravity compensation term.

[0052] The present invention has the following advantages and beneficial effects by adopting the above technical solution:

[0053] (1) In the multimodal therapy probe, the pneumatic tendon drives the movement of the silicone palm to achieve the therapy functions of palm vibration, palm pressure, and palm kneading. The pneumatic tendon is a rigid-flexible coupling structure, which provides anthropomorphic massage and therapy effects when in contact with the human body, and enhances the stability and impact resistance of the overall structure, ensuring the safety of the user during the therapy process.

[0054] (2) Silicone fingers are arranged in the silicone palm, and the silicone fingers are driven by the cylinder to extend and retract in the silicone palm, thereby realizing the therapeutic functions of finger pressing, finger vibration, and finger softening, and cooperate with the silicone palm to realize multifunctional therapeutic techniques.

[0055] (3) The multimodal therapy probe is connected to the robotic arm through a quick-change device. An electromagnet is provided on the upper connection plate of the quick-change device, and a locking plate made of ferromagnetic material is provided on the lower connection plate of the quick-change device, so as to realize fast and automatic loading and unloading between the multimodal therapy probe and the robotic arm, reduce the operating burden of the user, improve the intelligence of the operation, and enhance the convenience of use.

[0056] (4) The present invention adopts an efficient operation task motion planning method based on task decomposition and classification. The user only needs to select the physical therapy method on the host control interface, and the system can intelligently complete the planning of the physical therapy plan, the selection and replacement of the physical therapy probe, and the automation of the entire physical therapy process.

[0057] (5) A thin film pressure sensor is set in the silicone finger, and a six-dimensional force sensor is set between the multimodal therapy probe and the robotic arm. These can more accurately sense the interaction force between the user and the therapy probe, provide a more personalized level of therapy, and at the same time reduce the damage to the human body caused by incorrect operation, enhance the safety of the therapy process, and further improve the user experience.

[0058] (6) A force-position hybrid control method is used to precisely control the contact force between the multimodal therapy probe and the human body, including force control and position control. Force control is coupled with position control, and position, velocity and acceleration act in combination. Position control includes a position closed loop and a feedforward control link, wherein the feedforward control link includes a velocity loop and an acceleration loop to ensure the smooth and rapid following of the system. Force control includes a force closed loop and a feedforward compensation link, wherein the feedforward compensation link includes inertial force compensation, Coriolis force and gravity compensation. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 This is a schematic diagram of the overall structure of the multimodal physiotherapy robot of the present invention;

[0060] Figure 2 A cross-sectional view of a camera connection plate of the present invention;

[0061] Figure 3 A top view of the camera connection plate of the present invention;

[0062] Figure 4 It is a schematic diagram of the structure of the quick replacement device of the present invention;

[0063] Figure 5 The quick change device of the present invention is cut away Figure 1 ;

[0064] Figure 6 The quick change device of the present invention is cut away Figure 2 ;

[0065] Figure 7 The three-dimensional structure of the multi-modal therapy probe of the present invention is shown in FIG. Figure 1 ;

[0066] Figure 8 The three-dimensional structure of the multi-modal therapy probe of the present invention is shown in FIG. Figure 2 ;

[0067] Fig. 9 A three-dimensional schematic diagram of the multi-modal therapy probe of the present invention Figure 3 ;

[0068] Fig.10 It is a cross-sectional view of the multi-modal therapy probe of the present invention;

[0069] Fig.11 This is a control flow chart of the multimodal physiotherapy robot of the present invention;

[0070] Fig.12 Diagram of the force-position hybrid control system of the multimodal physiotherapy robot of the present invention.

[0071] Figure markings: robotic arm 1, robotic arm flange 2, robotic arm connecting plate 3, six-dimensional force sensor 4, camera connecting plate 5, first fixing hole 501 of the connecting plate, second fixing hole 502 of the connecting plate, third fixing hole 503 of the connecting plate, fourth fixing hole 504 of the connecting plate, depth camera 6, quick replacement device 7, upper connecting plate 701 of the quick replacement device, lower connecting plate 702 of the quick replacement device, electromagnet 703, locking plate 704, limiting column 705, limiting hole 706, first upper fixing hole 707 of the quick replacement device, second upper fixing hole 708 of the quick replacement device, third upper fixing hole 709 of the quick replacement device, control slot 710 of the quick replacement device, rear cover 711 of the quick replacement device, electromagnet hole 712, control box hole 713 of the quick replacement device, fourth upper fixing hole 714 of the quick replacement device, fifth upper fixing hole 715 of the quick replacement device, first lower Fixing hole 716, second lower fixing hole 717 of quick-change device, third lower fixing hole 718 of quick-change device, multimodal physiotherapy probe 8, upper connecting plate 801 of physiotherapy probe, first upper fixing hole 802 of physiotherapy probe, second upper fixing hole 803 of physiotherapy probe, third upper fixing hole 804 of physiotherapy probe, physiotherapy probe control box 805, pneumatic tendon 806, tendon air hole 807, cylinder 808, upper air hole 809 of cylinder, lower air hole 810 of cylinder, lower connecting plate 811 of physiotherapy probe, first lower fixing hole 812 of physiotherapy probe, second lower fixing hole 813 of physiotherapy probe, third lower fixing hole 814 of physiotherapy probe, silicone palm 815, finger hole 816, silicone palm fixing hole 817, silicone finger 818, silicone finger fixing hole 819, heating resistor wire 820, vibration motor 821, and thin film pressure sensor 822. DETAILED DESCRIPTION

[0072] The present invention provides a multi-modal physiotherapy robot and method, see Figure 1-10 The multimodal physiotherapy robot includes a robotic arm 1 and a multimodal physiotherapy probe 8, the multimodal physiotherapy probe 8 is connected to the end of the robotic arm 1, the multimodal physiotherapy probe 8 includes an upper connection plate 801 and a lower connection plate 811 of the physiotherapy probe, the lower surface of the lower connection plate 811 of the physiotherapy probe is connected with a silicone palm 815, the upper connection plate 801 of the physiotherapy probe and the lower connection plate 811 of the physiotherapy probe are arranged parallel to each other and connected by a plurality of pneumatic tendons 806, the pneumatic tendons 806 are at least 1, preferably 3, the upper connection plate 801 of the physiotherapy probe is fixedly connected with a physiotherapy probe control box 805, the upper connection plate 801 of the physiotherapy probe is bolted to the physiotherapy probe control box 805 through the third upper fixing hole 804 of the physiotherapy probe, a physiotherapy probe controller is arranged in the physiotherapy probe control box 805, and the physiotherapy probe controller controls the pneumatic tendon 806. In this embodiment, three pneumatic tendons 806 are provided to realize multi-angle movement of the silicone palm 815. The upper end of the pneumatic tendon 806 is connected to the upper connecting plate 801 of the physiotherapy probe through the first upper fixing hole 802 of the physiotherapy probe, and the lower end of the pneumatic tendon 806 is connected to the lower connecting plate 811 of the physiotherapy probe through the first lower fixing hole 812 of the physiotherapy probe; the silicone palm 815 is fixed to the lower connecting plate 811 of the physiotherapy probe through the silicone palm fixing hole 817 and the third lower fixing hole 814 of the physiotherapy probe, wherein a groove is provided in the third lower fixing hole 814 of the physiotherapy probe to hide the bolt head of the fixing bolt, thereby ensuring fixation without affecting the overall appearance; the pneumatic tendon 806 adopts the existing technical structure, which is a rigid-flexible coupling structure, and can be quickly inflated and deflated through the pneumatic tendon air hole 807 to achieve expansion and contraction, and can drive the lower connecting plate of the physiotherapy probe 811 vibrates together, thereby driving the silicone palm 815 to vibrate with a small amplitude, thereby realizing the therapeutic functions of palm vibration, palm pressure, and palm kneading; in order to make the palm pressure and palm kneading humanized, the silicone palm 815 adopts a silicone casting process. This manufacturing method enables the silicone palm 815 to provide patients with a real experience during physical therapy, and at the same time, it is in close contact with human skin and will not cause excessive squeezing of human skin, thereby making the physical therapy process more comfortable and beneficial to the circulation of blood inside the human body; further, in order to simulate the temperature of the human palm, a heating resistor wire 820 is arranged in the silicone palm 815. At relatively cold temperatures, it can increase the temperature of its structure to increase the temperature of the silicone and make it more flexible. At the same time, it also transfers the temperature to the blood through the silicone palm 815 through the skin, and the circulation of blood inside the human body increases the therapeutic effect.

[0073] In order to realize the physiotherapy functions of finger pressing, finger vibration, and finger softening, the silicone palm 815 is provided with a plurality of finger holes 816, and silicone fingers 818 are arranged in the finger holes 816. A cylinder 808 is arranged at a position corresponding to the finger holes 816 on the upper surface of the lower connecting plate 811 of the physiotherapy probe, and the cylinder rod of the cylinder 808 is inserted into the finger holes 816 and connected to the silicone fingers 818. The number of finger holes 816, silicone fingers 818, and cylinders 808 is set according to actual needs. In this embodiment, the finger hole 816 is installed on the cylinder rod of the cylinder 808 through the silicone finger fixing hole 819, and the cylinder 808 is installed on the lower connecting plate 811 of the physiotherapy probe through the second lower fixing hole 813 of the physiotherapy probe; the cylinder 808 adopts the existing technical structure and can drive the silicone fingers 818 to move in the finger hole 816. When not receiving instructions such as finger pressing, finger vibration, and finger softening, the cylinder 808 will exhaust air through the upper air hole 809 of the cylinder and inhale air through the lower air hole 810 of the cylinder, hiding the silicone finger 818 in the finger hole 816 of the silicone palm 815; when receiving instructions such as finger pressing, finger vibration, and finger softening, the cylinder 808 will inhale air through the upper air hole 809 of the cylinder and exhaust air through the lower air hole 810 of the cylinder, pushing the silicone finger 818 out of the finger hole 816. After completing the instructions, the cylinder 808 will exhaust air through the upper air hole 809 of the cylinder and inhale air through the lower air hole 810 of the cylinder, retracting the silicone finger 818 into the finger hole 816. Furthermore, the silicone finger 818 adopts a silicone casting process to imitate the touch of a real person's massage; in order to realize the finger vibration function, a vibration motor 821 is arranged in the silicone finger 818. The vibration motor 821 adopts the existing technical structure, which can make the silicone finger 818 vibrate at a high frequency, thereby performing high-frequency vibration therapy on a specific therapy point, so that the energy can be better transmitted to the subcutaneous tissue, making the therapy effect more ideal.

[0074] In order to realize the rapid loading and unloading between the multimodal therapy probe 8 and the mechanical arm, the multimodal therapy robot is also provided with a rapid replacement device 7. The rapid replacement device 7 includes an upper connection plate 701 of the rapid replacement device and a lower connection plate 702 of the rapid replacement device. The upper connection plate 701 of the rapid replacement device is connected to the mechanical arm 1, and the lower connection plate 702 of the rapid replacement device is connected to the multimodal therapy probe 8. The upper connection plate 701 of the rapid replacement device is provided with an electromagnet 703, and the upper surface of the lower connection plate 702 of the rapid replacement device is provided with a locking plate 704 of ferromagnetic material. When the electromagnet 703 is powered on, the locking plate 704 can be adsorbed, so that the upper connection plate 701 of the rapid replacement device is tightly connected with the lower connection plate 702 of the rapid replacement device; when the electromagnet 703 is powered off, the upper connection plate 701 of the rapid replacement device is separated from the lower connection plate 702 of the rapid replacement device, so as to realize the rapid loading and unloading of the multimodal therapy probe 8 and the mechanical arm 1. A quick-change device control slot 710 and a quick-change device back cover 711 are provided on the side of the quick-change device upper connection plate 701. A quick-change device controller is provided in the quick-change device control slot 710. The quick-change device control box and the quick-change device upper connection plate 701 can be connected by means of an integrated molding setting, bolt connection, welding, etc. A quick-change device control box hole 713 is provided on the side wall of the quick-change device control slot 710, and an electromagnet hole 712 is provided on the side wall of the electromagnet slot. The control line passes through the electromagnet hole 712 and the quick-change device control box hole 713 to connect the quick-change device controller to the electromagnet 703, and the quick-change device controller controls the electromagnet 703. In order to achieve firm locking and precise positioning of the upper connecting disk 701 and the lower connecting disk 702 of the quick-change device, a plurality of limiting columns 705 are arranged on the lower surface of the upper connecting disk 701 of the quick-change device, and the lower connecting disk 702 of the quick-change device is provided with limiting holes 706 matching the limiting columns 705. When the upper connecting disk 701 of the quick-change device is connected to the lower connecting disk 702 of the quick-change device, the limiting columns 705 are inserted into the limiting holes 706 to achieve guiding and positioning. In this embodiment, the upper portion of the quick-change device upper connecting plate 701 is provided with a first upper fixing hole 707, a second upper fixing hole 708, and a third upper fixing hole 709 of the quick-change device. The bolt passes through the first upper fixing hole 707 of the quick-change device to fix the fixed limit column 705, and a groove for accommodating the bolt head is provided on the upper portion of the first upper fixing hole 707 of the quick-change device, so that the bolt can be completely hidden in the quick-change device upper connecting plate 701; the quick-change device upper connecting plate 701 is provided with an electromagnet slot, and the electromagnet The electromagnet 703 is arranged in the electromagnet groove, and the bolt passes through the second upper fixing hole 708 of the quick-changing device to fix the electromagnet 703. The second upper fixing hole 708 of the quick-changing device is provided with a groove for accommodating the bolt head; the bolt passes through the third upper fixing hole 709 of the quick-changing device to fix the electromagnet 703, and at the same time plays a limiting role to prevent the electromagnet 703 from rotating; the lower connecting plate 702 of the quick-changing device has the first lower fixing hole 716 of the quick-changing device, the second lower fixing hole 717 of the quick-changing device, and the third lower fixing hole 718 of the quick-changing device.A nut is arranged in the second lower fixing hole 717 of the quick-change device, and a bolt passes through the first lower fixing hole 716 of the quick-change device and the second lower fixing hole 717 of the quick-change device and cooperates with the nut to fix the locking plate 704 to the upper surface of the lower connecting plate 702 of the quick-change device. Since the bolt head is not hidden, the lower surface of the upper connecting plate 701 of the quick-change device is provided with a fifth upper fixing hole 715 of the quick-change device corresponding to the first lower fixing hole 716 of the quick-change device. The fifth upper fixing hole 715 of the quick-change device is used to accommodate the bolt head and can also play a positioning and limiting role. In order to achieve connection with the multimodal physiotherapy probe 8, the lower connecting plate 702 of the quick-change device is provided with a third lower fixing hole 718 of the quick-change device, and the upper connecting plate 801 of the physiotherapy probe is provided with a second upper fixing hole 803 of the physiotherapy probe corresponding to the third lower fixing hole 718 of the quick-change device. The bolt passes through the third lower fixing hole 718 of the quick-change device and the upper connecting plate 801 of the physiotherapy probe to connect and fix the lower connecting plate 702 of the quick-change device and the multimodal physiotherapy probe 8.

[0075] In order to realize automatic control of the multimodal physiotherapy robot, a control host is also provided, which controls the movement of the robot arm 1. The control host has a built-in expert system, which adopts the existing technology. The user can select the physiotherapy method through the control host. The expert system provides the user with a physiotherapy plan, which includes physiotherapy probes, physiotherapy points, physiotherapy trajectories and physiotherapy time information. The control host can plan tasks for the physiotherapy process; the physiotherapy probe controller and the quick-change device controller are both electrically connected to the control host, and the control host controls the physiotherapy probe controller and the quick-change device controller.

[0076] In order to measure and control the pressing pressure of the multimodal therapy probe 8, a six-dimensional force sensor 4 is arranged above the multimodal therapy probe 8, and the six-dimensional force sensor 4 is connected to the control host. The six-dimensional force sensor 4 can measure the pressing force and feed back the measurement signal to the control host in real time. The control host performs force-position mixed control on the mechanical arm and the multimodal therapy probe 8, and improves the control accuracy to better simulate the professional technique and anthropomorphism of professional therapists. In addition, considering that the silicone finger 818 is a flexible material, its contact area is small, which may cause inaccurate monitoring of the six-dimensional force sensor 4, and it is necessary to supplement the monitoring of the six-dimensional force sensor 4. For this reason, a thin film pressure sensor 822 is arranged in the silicone finger 818, and the thin film pressure sensor 822 is connected to the control host and sends a detection signal to the control host, and measures the pressure of the multimodal therapy probe 8 in contact with the human body in real time to avoid excessive or too small force, because excessive pressing force is easy to cause human body damage, and too small pressing force affects the therapy effect. At the same time, when the multimodal therapy probe 8 is subjected to external impact, the thin film pressure sensor 822 can detect the impact pressure and send a signal to the control host. The control host sends a control signal to the probe controller. The probe controller controls the pneumatic tendon 806 to passively contract rapidly, thereby increasing the impact resistance of the device, increasing its service life, and avoiding damage to the human body when the human body collides.

[0077] In order to realize the automatic disassembly function and the automatic therapy function, it is necessary to identify the coordinate positions of the multimodal therapy probe 8 and the user. Therefore, a camera connection plate 5 is arranged between the multimodal therapy probe 8 and the mechanical arm 1. The camera connection plate 5 is connected to the depth camera 6. The depth camera 6 is used to identify the coordinate positions of the multimodal therapy probe 8 and the user. In this embodiment, the camera connection plate 5 is provided with a first connection plate fixing hole 501, a second connection plate fixing hole 502, a third connection plate fixing hole 503, and a fourth connection plate fixing hole 504. The first connection plate fixing hole 501 is used to fix the camera connection plate 5 and the six-dimensional force sensor 4. The first connection plate fixing hole 501 is provided with a groove to hide the bolt head of the connecting bolt. The second connection plate fixing hole 502 is used to fix the camera connection plate 5 and the quick replacement device 7. The second connection plate fixing hole 502 is provided with a groove to hide the nut of the connecting bolt. The third fixing hole 503 of the connection plate is provided with a groove for hiding the bolt head, and the fixing bolt fixes the camera 6 through the hole. The third fixing hole 503 of the connection plate is 100 mm away from the center of the camera connection plate 5 to prevent the physiotherapy probe from blocking the depth camera 6. The fourth upper fixing hole 714 of the quick-change device is provided on the connection plate 701 of the quick-change device. The position of the fourth upper fixing hole 714 of the quick-change device corresponds to the first fixing hole 501 of the connection plate, and the connection plate 701 of the quick-change device is fixed to the camera connection plate 5 by bolts. The fixing bolt is used to facilitate the replacement of the camera 6 and the camera connection plate 5, and to facilitate disassembly. The fixing bolt is connected to the second fixing hole 502 of the connection plate through the fourth upper fixing hole 714, and the fourth fixing hole 504 of the connection plate is provided in the camera connection plate 5 to place the bolt head of the fixed electromagnet 703.

[0078] In this embodiment, the robot arm connection plate 3 is connected to the end of the robot arm 1 through the flange plate 2 of the robot arm 1, the six-dimensional force sensor 4 is installed on the robot arm connection plate 3, the camera connection plate 5 is connected to the six-dimensional force sensor 4, a depth camera 6 for identifying objects is installed on the camera connection plate 5, a quick change device 7 is installed on the camera connection plate 5, and a multimodal physiotherapy probe 8 is connected to the quick change device 7. The movement of the robot arm 1 is controlled by the control host. It should be noted that different physiotherapy probes can also be installed through the quick change device 7; the connection order of the six-dimensional force sensor 4 and the camera connection plate 5 can also be exchanged.

[0079] See also Fig.11 The present invention also provides a method for using a multimodal physiotherapy robot, the steps of which are as follows:

[0080] Step 1: The user lies flat or sits in front of the robot arm 1. The operator or user selects a therapy plan on the control host according to the user's diverse therapy needs. The control host and the expert system work seamlessly to provide detailed information including the selection of therapy probes, therapy points, therapy trajectories, and therapy time.

[0081] Step 2: The control host performs task planning for the entire physical therapy process based on the above information, and adopts an efficient operation task motion planning method based on task decomposition and classification. By decomposing the task level by level, it is divided into subtasks described by basic motions to improve the system's management and execution efficiency of complex tasks;

[0082] task={stage1,stage2,…,stage n}

[0083]

[0084] Task represents a task, maintaining all the information of the task, including input and output, motion group, real-time status information, etc., and is composed of a series of operation stages; stage maintains the same data information and is the logical sum of a group of subtasks with time series; subtasks are composed of basic motion primitives; primitives are the smallest unit of task decomposition, such as Fig.11 Therapy options shown.

[0085] Step 3. The control host uses the depth camera 6 to identify the three-dimensional world coordinates of multiple different physiotherapy probes, obtains and saves the world coordinates of each physiotherapy probe, and intelligently selects the most suitable physiotherapy probe according to specific task requirements to improve the system's adaptability and intelligence to different physiotherapy scenarios. This embodiment describes the working process using the multimodal physiotherapy probe 8 as an example. The control host controls the robotic arm 1 to drive the upper connecting disk 701 of the quick-change device to move to the physiotherapy probe position, controls the limit column 705 installed on the upper connecting disk 701 of the quick-change device to be aligned with the limit hole 706 in the lower connecting disk 702 of the quick-change device installed on the physiotherapy probe 8, and energizes the electromagnet 703 to complete the installation of the physiotherapy probe 8.

[0086] Step 4, the control host performs image recognition processing on the three-dimensional contour image of the human body through the depth camera 6 installed on the camera connection plate 5, obtains the three-dimensional coordinates of all therapy points, sends and records the world coordinate system data of the human body therapy points to the control host; the control host controls the robotic arm 1 to drive the therapy probe 8 to move to the corresponding therapy point of the human body according to the three-dimensional coordinate data, and the therapy probe 8 starts the therapy operation after reaching the therapy point.

[0087] Step 5. After the therapy probe 8 completes the therapy operation, the control host determines whether the next task needs to be performed according to the subtask given in step 1. If only the therapy point needs to be replaced, the control host changes the posture of the robot arm 1 according to the world coordinate system of the therapy point identified by the depth camera 6, so that the therapy probe 8 performs the next subtask; if only the therapy probe needs to be replaced, the control host controls the robot arm 1 to move the therapy probe to the corresponding probe hole of the probe rack according to the world coordinate system of the probe rack identified by the depth camera 6 in step 3, and the control host controls the quick change device 7 to automatically unload the therapy probe 8; if the therapy probe and therapy point need to be replaced, the control host controls the robot arm 1 and the quick change device 7 to replace the therapy probe. After the replacement of the therapy probe is completed, the control host changes the posture of the robot arm 1 according to the world coordinate system of the therapy point identified by the depth camera 6, so that the therapy probe 8 performs the next subtask; if all therapy tasks are completed, the control host controls the robot arm 1 and the quick change device 7 to unload the therapy probe, and the robot arm 1 restores its initial posture.

[0088] For example: when in the application, the user sends a command to the machine to "help me hammer my back". After the control host receives the command, it will match it with the expert system of the first step and obtain the need to perform palm massage on the "Jian Jing acupoint, Jian Shu acupoint, Jiaxiang acupoint and Zhong Shu acupoint" for 3 minutes each. The command is compared and matched with the three-dimensional coordinates of the physiotherapy probe. After matching, the robot arm 1 automatically loads the physiotherapy probe through the quick replacement device 7, and then the command is compared and matched with the three-dimensional coordinate data of the "Jian Jing acupoint, Jian Shu acupoint, Jiaxiang acupoint and Zhong Shu acupoint". After matching, the control host will send a new command according to the three-dimensional coordinate data of the "Jian Jing acupoint, Jian Shu acupoint, Jiaxiang acupoint and Zhong Shu acupoint". The robot arm 1 will drive the physiotherapy probe to move to the physiotherapy point of the human body for vibration massage. After the massage time reaches the pre-designed time, the next physiotherapy point is replaced for vibration massage. After completing all the physiotherapy operations, the robot arm 1 connected to the physiotherapy probe 8 unloads the physiotherapy probe 8, and the robot arm 1 moves back to its original position, and a physiotherapy task is completed. The user can also select the massage time, treatment point and treatment method. In the technical solution of the present invention, when the heating function is used, a heating instruction can be selected. For example, if the user selects "heating massage left shoulder" in the control host, the treatment probe will heat and vibrate during the treatment process.

[0089] In order to achieve precise control of the multimodal therapy probe, the present invention also provides a control method for a multimodal therapy robot, including calibration of a visual system, motion trajectory planning, and force-position hybrid control of the probe, and the specific steps are as follows:

[0090] S1. Calibrate the visual system and use the camera to identify the coordinate points (x w ,y w ,zw ) T , the control host controls the robotic arm 1 to drive the therapy probe to move to the therapy point.

[0091] S1.1. Obtain the point (u, v) of the object in the pixel coordinate system through the camera T and the depth value z.

[0092] S1.2, use the coordinate conversion formula to transform the point (u, v) in the pixel coordinate system T Converted to the coordinates in the camera coordinate system (x c ,y c ,z c ) T , the conversion formula is as follows:

[0093]

[0094] Where f is the physical focal length of the camera, d x is the length of a pixel, d y is the width of the pixel, K represents the intrinsic parameter matrix of the camera, which can be obtained through camera calibration.

[0095] f x =f / d x and f y =f / d y , f x , f y is the normalized focal length of the camera;

[0096] S1.3. Through the hand-eye calibration of the camera, the conversion relationship X between the camera coordinate system and the robot end coordinate system is obtained, so as to obtain the coordinate point of the object in the robot end coordinate system. According to the parameters of the robot arm, the conversion relationship between the robot base coordinate system and the robot end coordinate system is obtained. Thus, the coordinate point (x w ,y w ,z w ) T ,

[0097]

[0098] Among them, R is the rotation matrix of the coordinate transformation between the robot arm coordinate system and the robot arm end coordinate system, T is the translation matrix of the coordinate transformation between the robot arm coordinate system and the robot arm end coordinate system, and R and T change as the robot arm moves.

[0099] The overall conversion formula from the camera coordinate system to the robot base coordinate system is as follows:

[0100]

[0101] S2. Perform motion trajectory planning. Since the physical therapy process needs to consider not only the starting point and the target point, but also the transition points between the points, the trajectory planning is performed using quintic polynomial interpolation. This interpolation method considers the starting point angle θ0 and the ending point angle θ f , angular velocity of the joint starting point and the angular velocity at the end point and the starting point of the joint and the angular acceleration at the end point End time t f , thus obtaining a smooth trajectory, whose trajectory function θ(t) is:

[0102] θ(t)=a0+a1t+a2t 2 +a3t 3 +a4t 4 +a5t 5

[0103] The joint velocity and acceleration on the motion trajectory are:

[0104]

[0105] Among them: a0, a1, a2, a3, a4, a5 are the six time variable coefficients that need to be solved.

[0106]

[0107] S3. After the therapy probe reaches the designated position, in order to make the therapy process safe, reliable and comfortable, force-position hybrid control is adopted to obtain precise control force. Fig.12 As shown, force-position hybrid control includes position control and force control. Position control includes position closed loop and feedforward control link, wherein the feedforward control link includes velocity loop and acceleration loop to ensure the smooth and rapid following process of the system; force control includes force closed loop and feedforward compensation link, wherein the feedforward compensation link includes inertia force compensation, Coriolis force and gravity compensation; force control is coupled with position control, and position, velocity and acceleration act in combination.

[0108] S3.1. Part of the force loop is the generalized force F expected at the end t The input parameter is subtracted from the force F measured by the force sensor to obtain the force correction value (force deviation) F t -F, the transposed matrix J after PI parameter adjustment and Jacobian matrix T Multiply the matrix with to get the first part of the joint control torque And constitute the negative feedback loop of the force control part; among them, K f_p is the proportional coefficient of the force feedback loop, Kf_i is the integral coefficient of the force feedback loop, S is the selection matrix, It is the conjugate matrix of the selection matrix S. For example, the selection matrix S of a robot with seven degrees of freedom is a 7-dimensional diagonal matrix, and the elements on the diagonal are 1 or 0. If the position corresponding to a joint is 1, it means that this joint is selected.

[0109] S3.2, the other part of the force closed loop directly converts the generalized force F1 generated by the current end into the transposed matrix J of the Jacobian matrix T Perform matrix multiplication to obtain the second part of the joint control torque

[0110] S3.3, position closed loop with expected position x t is the input parameter, and the position correction value (position deviation) x is obtained by subtracting it from the actual position x t -x, adjusted by PI parameters and combined with the inverse of the Jacobian matrix J -1 Matrix multiplication with the inertia force compensation term M(q) yields the third joint control torque M(q)(K x_p +K x_i / s)J -1 S(x t -x); the actual position x is obtained by multiplying the joint velocity q and the Jacobian matrix J, K x_p is the proportional coefficient of the position loop, K x_i is the integral coefficient of the position loop.

[0111] S3.4, speed loop at the expected speed is the input parameter, and the actual speed Subtract and get the speed correction value (speed deviation) After PD parameter adjustment and the inverse J of the Jacobian matrix -1 Matrix multiplication with the inertia force compensation term M(q) gives the fourth part of the joint control torque The actual speed The joint angular velocity K is obtained by multiplying the Jacobian matrix J. v_d is the proportional coefficient of the speed loop.

[0112] S3.5, acceleration loop with expected acceleration As input parameters, Difference, and then adjust the acceleration, and at the same time with the inverse of the Jacobian matrix J -1 Multiply the matrix with the inertia term M(q) to get the fifth part of the joint control torque in is the derivative of the Jacobian matrix,

[0113] S3.6. Add the first joint control torque, the second joint control torque, the third joint control torque, the fourth joint control torque, the fifth joint control torque, the Coriolis force, and the gravity compensation to obtain the overall joint control torque τ.

[0114]

[0115] Among them, M(q) is the inertia term; is the Coriolis force term, and g(q) is the gravity compensation term.

Claims

1. A control method for a multimodal therapy robot, based on a multimodal therapy robot and a method for using the same, wherein the multimodal therapy robot comprises a mechanical arm (1) and a multimodal therapy probe (8), wherein the multimodal therapy probe (8) is connected to the end of the mechanical arm (1), and wherein: The multimodal physiotherapy probe (8) comprises an upper physiotherapy probe connection plate (801) and a lower physiotherapy probe connection plate (811); the lower surface of the lower physiotherapy probe connection plate (811) is connected to a silicone palm (815); the upper physiotherapy probe connection plate (801) and the lower physiotherapy probe connection plate (811) are arranged parallel to each other and connected via a plurality of pneumatic tendons (806); the physiotherapy probe controller controls the pneumatic tendons (806); the pneumatic tendons (806) are rigid-flexible coupling structures, and can drive the lower physiotherapy probe connection plate (811) to vibrate together, thereby driving the silicone palm (815) to move; The apparatus further comprises a quick-change device (7), wherein the multimodal physiotherapy probe (8) is connected to the mechanical arm (1) via the quick-change device (7), wherein the quick-change device (7) comprises an upper connection plate (701) of the quick-change device and a lower connection plate (702) of the quick-change device, wherein the upper connection plate (701) of the quick-change device is connected to the mechanical arm (1), and the lower connection plate (702) of the quick-change device is connected to the multimodal physiotherapy probe (8), wherein the upper connection plate (701) of the quick-change device is provided with an electromagnet (703), and the upper surface of the lower connection plate (702) of the quick-change device is provided with a locking plate (704) made of ferromagnetic material, wherein the electromagnet (703) can adsorb the locking plate (704) when powered on, so that the upper connection plate (701) of the quick-change device is tightly connected to the lower connection plate (702) of the quick-change device; and when the electromagnet (703) is powered off, the upper connection plate (701) of the quick-change device is separated from the lower connection plate (702) of the quick-change device; A camera connection plate (5) is arranged between the multimodal therapy probe (8) and the mechanical arm (1), the camera connection plate (5) is connected to a depth camera (6), and the depth camera (6) is capable of identifying the coordinate positions of the multimodal therapy probe (8) and the user; The invention comprises a control host, which controls the movement of the robot arm. The control host has a built-in expert system, and a user can select a physiotherapy method through the control host. The expert system provides a physiotherapy plan for the user, and the physiotherapy plan includes physiotherapy probe, physiotherapy point, physiotherapy trajectory and physiotherapy time information. The control host can plan tasks for the physiotherapy process. A quick-change device control slot (710) is arranged on the side of the quick-change device upper connection disk (701), and a quick-change device controller is arranged in the quick-change device control slot (710). The quick-change device controller is electrically connected to the electromagnet (703), and the quick-change device controller controls the electromagnet (703). A physiotherapy probe control box (805) is fixedly connected to the physiotherapy probe upper connection disk (801), and a physiotherapy probe controller is arranged in the physiotherapy probe control box (805). The physiotherapy probe controller controls the pneumatic tendon (806) and the cylinder (808). The physiotherapy probe controller and the quick-change device controller are both electrically connected to the control host, and the control host controls the physiotherapy probe controller and the quick-change device controller. A method for using a multimodal physiotherapy robot comprises the following steps: Step 1: The user takes his place and selects a therapy plan on the control host. The expert system provides information including the selection of therapy probes, therapy points, therapy trajectories and therapy time. Step 2: The control host uses a task motion planning method based on task decomposition and classification to plan the physical therapy process into subtasks described by basic motions; Step 3: The control host uses the depth camera (6) to identify the three-dimensional world coordinates of all different physiotherapy probes to obtain the world coordinates of all physiotherapy probes. The depth camera (6) sends and records the world coordinates of all physiotherapy probes to the control host. The control host selects a physiotherapy probe according to task requirements and controls the quick replacement device (7) to replace the physiotherapy probe. Step 4: The control host performs image recognition on the three-dimensional contour image of the human body through the depth camera (6) to obtain the three-dimensional coordinates of all the physiotherapy points. The depth camera (6) sends and records the world coordinate system data of the human body physiotherapy points to the control host; the control host controls the mechanical arm (1) to drive the physiotherapy probe to move toward the physiotherapy point according to the world coordinates of the human body physiotherapy point, and the physiotherapy probe starts the physiotherapy operation after reaching the physiotherapy point; Step 5: After the therapy probe (8) completes the therapy operation, the control host determines whether the next task needs to be performed according to the subtask given in step 1; if only the therapy point needs to be replaced, the control host adjusts the position of the robot arm (1) according to the world coordinates of the therapy point saved in step 4, and performs the next subtask; if only the therapy probe needs to be replaced, the control host controls the robot arm (1) to drive the therapy probe to move to the unloading position according to the world coordinates of the therapy probe saved in step 3, and the quick replacement device (7) automatically unloads the therapy probe; if the therapy probe and the therapy point need to be replaced, the control host controls the robot arm (1) and the quick replacement device (7) to replace the therapy probe. After the therapy probe is replaced, the control host changes the position of the robot arm (1) according to the world coordinates of the therapy point, and the therapy probe performs the next subtask; if all therapy tasks are completed, the control host controls the robot arm (1) and the quick replacement device (7) to unload the therapy probe, and the robot arm (1) returns to its initial position; It is characterized by comprising the following steps: S1. Calibrate the visual system. The depth camera (6) identifies the coordinate point (x w ,y w ,z w ) T , the control host controls the mechanical arm (1) to drive the physiotherapy probe to move to the physiotherapy point; S1.

1. Obtain the point (u, v) of the object in the pixel coordinate system through the depth camera (6) T and the depth value z; S1.2, the point (u, v) in the pixel coordinate system T Converted to the coordinates in the camera coordinate system (x c ,y c ,z c ) T , the conversion formula is as follows: Where f is the physical focal length of the camera, d x is the length of a pixel, d y is the width of the pixel; K represents the intrinsic parameter matrix of the camera, which is obtained through camera calibration. f x =f / d x and f y =f / d y is the normalized focal length of the camera; S1.

3. Convert the camera coordinate system obtained by hand-eye calibration of the depth camera (6) into the robot base coordinate system. The conversion formula is as follows: Thus, the coordinate point (x w ,y w ,z w ) T ; Among them, X is the conversion relationship between the camera coordinate system and the robot end coordinate system, is the transformation relationship between the robot base coordinate system and the robot end coordinate system, R is the rotation matrix of the coordinate transformation between the robot arm coordinate system and the robot end coordinate system, and T is the translation matrix of the coordinate transformation between the robot arm coordinate system and the robot end coordinate system; S2. Use quintic polynomial interpolation for trajectory planning, and the trajectory function θ(t) is: θ(t)=a0+a1t+a2t 2 +a3t 3 +a4t 4 +a5t 5 The joint velocity and acceleration on the motion trajectory are: in, θ0 is the starting angle of the joint, θ f is the end point angle of the joint, is the angular velocity of the joint at its starting point, is the angular velocity of the joint’s end point, is the starting point of the joint, is the angular acceleration of the joint end point, t f is the end time; S3, after the therapy probe reaches the designated position, the force of the therapy probe is controlled by force-position hybrid control; S3.

1. Generalized force F expected at the end t The input parameter is subtracted from the force F measured by the force sensor to obtain the force correction value (force deviation) F t -F, the transposed matrix J after PI parameter adjustment and Jacobian matrix T Multiply the matrix with to get the first part of the joint control torque And constitute the negative feedback loop of the force control part; among them, K f_p is the proportional coefficient of the force feedback loop, K f_i is the integral coefficient of the force feedback loop, S is the selection matrix, is the conjugate matrix of the selected matrix S; S3.

2. The generalized force F1 generated by the current end and the transposed matrix J of the Jacobian matrix T Perform matrix multiplication to obtain the second part of the joint control torque S3.3, with the expected position x t is the input parameter, and the position correction value (position deviation) x is obtained by subtracting it from the actual position x t -x, adjusted by PI parameters and combined with the inverse of the Jacobian matrix J -1 Matrix multiplication with the inertia force compensation term M(q) yields the third joint control torque M(q)(K x_p +K x_i / s)J -1 S(x t -x); the actual position x is obtained by multiplying the joint velocity q with the Jacobian matrix J, K x_p is the proportional coefficient of the position loop, K x_i is the integral coefficient of the position loop; S3.4, at the expected speed is the input parameter, and the actual speed Subtract and get the speed correction value (speed deviation) After PD parameter adjustment and the inverse J of the Jacobian matrix -1 Matrix multiplication with the inertia force compensation term M(q) gives the fourth part of the joint control torque The actual speed The joint angular velocity K is obtained by multiplying the Jacobian matrix J. v_d is the proportional coefficient of the speed loop; S3.5, with expected acceleration As input parameters, Difference, and at the same time with the inverse of the Jacobian matrix J -1 Multiply the matrix with the inertia term M(q) to get the fifth part of the joint control torque in is the derivative of the Jacobian matrix; S3.

6. Add the first joint control torque, the second joint control torque, the third joint control torque, the fourth joint control torque, the fifth joint control torque, the Coriolis force, and the gravity compensation to obtain the overall joint control torque τ. Among them, M(q) is the inertia term; is the Coriolis force term, and g(q) is the gravity compensation term.

2. The control method of a multimodal physiotherapy robot according to claim 1, characterized in that: The silicone palm (815) is provided with a plurality of finger holes (816), and silicone fingers (818) are arranged in the finger holes (816). A cylinder (808) is arranged at a position corresponding to the finger holes (816) on the upper surface of the lower connecting plate (811) of the physiotherapy probe, and a cylinder rod of the cylinder (808) is inserted into the finger holes (816) and connected to the silicone fingers (818); the cylinder (808) can drive the silicone fingers (818) to extend and retract in the finger holes (816).

3. The control method of a multimodal physiotherapy robot according to claim 1, characterized in that: A six-dimensional force sensor (4) is arranged between the multimodal therapy probe (8) and the mechanical arm (1); the six-dimensional force sensor (4) is connected to a control host; the six-dimensional force sensor (4) is capable of measuring the pressing force and feeding back the measurement signal to the control host in real time.

4. The control method of a multimodal physiotherapy robot according to claim 1, characterized in that: A thin film pressure sensor (822) is arranged in the silicone finger (818), and the thin film pressure sensor (822) is connected to the control host. The thin film pressure sensor (822) can measure the pressure of the silicone finger (818) in contact with the human body and feed back the measurement signal to the control host in real time. When the multimodal physiotherapy probe (8) is subjected to external impact, the thin film pressure sensor (822) can detect the impact pressure and send a signal to the control host. The control host sends a control signal to the probe controller, and the probe controller controls the pneumatic tendon (806) to contract rapidly.

5. The control method of a multimodal physiotherapy robot according to claim 2, characterized in that: The silicone palm (815) is made by using a silicone casting process, a heating resistor wire (820) is arranged inside the silicone palm (815), the silicone finger (818) is made by using a silicone casting process, a vibration motor (821) is arranged inside the silicone finger (818), and the vibration motor (821) can make the silicone finger (818) vibrate at a high frequency.