Rehabilitation physiotherapy method, device and equipment based on UWB fusion and medium

Through the combination of UWB fusion technology and pressure sensors, the problems of positioning and strength adjustment of the rehabilitation physiotherapy robot are solved, achieving precise movement of the robotic arm and improving the physiotherapy effect.

CN118766727APending Publication Date: 2024-10-15ANYANG XIANGYU MEDICAL EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410930262.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing rehabilitation physiotherapy robots are unable to accurately position the robotic arm and adjust the intensity of physiotherapy, resulting in reduced physiotherapy effects for patients.

Method used

Using UWB fusion technology, through the cooperation of the main base station, secondary base station and UWB tag base station, the position and distance information of the robotic arm is monitored in real time, the target treatment path is generated, and the pressure sensor is used to adjust the treatment intensity to achieve precise movement and real-time position of the robotic arm. renew.

Benefits of technology

It achieves precise positioning of the robotic arm and dynamic adjustment of physical therapy intensity, improves the patient's physical therapy effect, and ensures the accuracy and safety of treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118766727A_ABST
    Figure CN118766727A_ABST
Patent Text Reader

Abstract

The invention provides a rehabilitation physiotherapy method, device and equipment based on UWB fusion and a medium, and effectively solves the problems that an existing rehabilitation physiotherapy robot cannot accurately position a mechanical arm and cannot adjust physiotherapy strength, and the physiotherapy effect of a patient in the physiotherapy process is reduced. The method comprises the steps that when a patient is treated on a physiotherapy couch, a main base station determines the initial position of a mechanical arm and sends the initial position of the mechanical arm to a control host; the control host generates target treatment path information for the patient according to the initial position of the mechanical arm and a pre-configured treatment point location of the patient; the control host controls the mechanical arm to move according to the target treatment path track, and feeds back the real-time pressure applied to the treatment point position by the treatment head at the tail end of the mechanical arm in real time based on the pressure sensor, so that the pressure applied to the treatment point position of the patient conforms to the target pressure; and physiotherapy is carried out on the patient through the treatment head until the target treatment time is reached.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rehabilitation therapy technology, and in particular to a rehabilitation therapy method, device, equipment and medium based on UWB fusion. Background Art

[0002] With the rapid development of robotics technology, the application areas of robotic arms have gradually expanded, and they have shown great potential in many fields such as manufacturing, medical rehabilitation, etc. Especially in the medical field, the emergence of AI physiotherapy robots provides a new solution for relieving human muscle soreness and simulating professional massage. AI physiotherapy robots need to be in close contact with the human body to achieve precise massage and physiotherapy effects. However, in actual use, the safety of the interaction between AI physiotherapy robots and people or the environment has become a key challenge that needs to be solved urgently. Due to the complexity of the actual use environment, such as differences in human muscle tissue, changes in massage intensity, etc., the robot may face various uncertainties during operation.

[0003] Existing rehabilitation therapy robots use algorithms to identify treatment points based on human image information from cameras, output treatment paths, and then use a robotic arm and massage head to plan paths and preset pressure to replace the existing method of using manual therapy to treat patients. However, in the actual therapy process, due to individual differences, the force applied to the patient cannot be adjusted, which reduces the therapeutic effect of the patient during the therapy process. At the same time, the method of using cameras to identify human image information and output treatment paths cannot achieve accurate positioning of the robotic arm, and thus cannot achieve accurate treatment effects. Summary of the invention

[0004] In view of this, the purpose of this application is to provide a rehabilitation therapy method, device, equipment and medium based on UWB fusion, which effectively solves the problem that the existing rehabilitation therapy robot is unable to accurately position the mechanical arm and cannot adjust the therapy intensity, thereby reducing the therapy effect of the patient during the therapy process.

[0005] In a first aspect, an embodiment of the present application provides a rehabilitation therapy method based on UWB fusion, which is applicable to a physiotherapy system, wherein the physiotherapy system includes a control host, a main base station, a mechanical arm, and a physiotherapy bed, wherein the main base station corresponds to a UWB tag base station and multiple secondary base stations, wherein the main base station and some of the secondary base stations are respectively located at the four corners of the physiotherapy bed, and the remaining secondary base stations are respectively located on the limbs of the patient being treated on the physiotherapy bed, wherein the UWB tag base station is located at a treatment head at the end of the mechanical arm, and a pressure sensor is also provided at the end of the mechanical arm, wherein the method includes:

[0006] When the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station, and sends the initial position of the robotic arm to the control host;

[0007] The control host generates target treatment path information for the patient according to the initial position of the robotic arm and the pre-configured treatment point of the patient; the target treatment path information includes the target treatment path trajectory, the target treatment time and the target pressure at the treatment point;

[0008] The control host controls the robotic arm to move from the initial position to the target treatment path trajectory, moves along the target treatment path trajectory, and based on the pressure sensor, provides real-time feedback of the real-time pressure applied to the treatment point by the treatment head at the end of the robotic arm, so that the pressure applied to the patient's treatment point meets the target pressure, so that the patient can be treated through the treatment head until the target treatment time is reached.

[0009] In combination with the first aspect, the embodiment of the present application provides a first possible implementation of the first aspect, wherein the moving according to the target treatment path trajectory includes:

[0010] In the process of moving along the target treatment path trajectory, the main base station receives in real time the real-time distance information from the secondary base stations to the robotic arm output by the secondary base stations located at the patient's limbs, determines the real-time position of the robotic arm based on the received real-time distance information from the secondary base stations to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station, and determines the real-time position of the patient based on the real-time position of the robotic arm;

[0011] Based on the real-time position of the patient, determine the real-time treatment path trajectory for the patient to determine whether the real-time treatment path trajectory is consistent with the target treatment path trajectory;

[0012] If not, the target treatment path trajectory is updated to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm.

[0013] In combination with the first aspect, an embodiment of the present application provides a second possible implementation of the first aspect, wherein if not, updating the target treatment path trajectory to control the manipulator arm to move to the updated target treatment path trajectory based on the real-time position of the manipulator arm, including:

[0014] The control host calculates a deviation value between the updated target treatment path trajectory and the real-time position of the robotic arm determined based on multiple secondary base stations and the UWB tag base station;

[0015] The control host controls the robot arm to move to the updated target treatment path trajectory through a PID algorithm based on the deviation value.

[0016] In combination with the first aspect, the embodiment of the present application provides a third possible implementation of the first aspect, wherein, if not, updating the target treatment path trajectory to control the manipulator arm to move to the updated target treatment path trajectory based on the real-time position of the manipulator arm, further comprising:

[0017] After controlling the movement of the robotic arm, re-measure the position of the robotic arm based on the position information of the main base station, the UWB tag base station and the plurality of secondary base stations to determine whether the position information conforms to the target treatment path trajectory updated by the control host;

[0018] If it meets the requirements, the robotic arm is controlled to move according to the updated target treatment path trajectory.

[0019] In combination with the first aspect, the embodiment of the present application provides a fourth possible implementation of the first aspect, wherein a gyroscope sensor is further provided at the end of the robotic arm;

[0020] The control host controls the robot arm to move from the initial position to the target treatment path trajectory, and moves according to the target treatment path trajectory, including:

[0021] The control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period;

[0022] The control host controls the robot arm to move within a preset time period according to the obtained position information and posture information of the robot arm to be moved within the preset time period.

[0023] In combination with the first aspect, the embodiment of the present application provides a fifth possible implementation of the first aspect, wherein the control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period, including:

[0024] The control host detects the angular velocity and acceleration of the mechanical arm in real time according to the gyro sensor, and predicts the movement information of the mechanical arm within a preset time period based on the angular velocity and acceleration of the mechanical arm, wherein the movement information includes the movement speed and the movement direction;

[0025] The control host generates the position information and posture information of the robotic arm to be moved within a preset time period based on the moving speed and moving direction of the robotic arm and the real-time position information of the end of the robotic arm detected by the UWB tag base station.

[0026] In combination with the first aspect, the embodiment of the present application provides a sixth possible implementation of the first aspect, wherein the real-time position of the robotic arm is determined based on the received real-time distance information from multiple secondary base stations located at the patient's limbs to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station, including:

[0027] Based on the real-time position of the robotic arm detected by the UWB tag base station, it is determined whether the robotic arm where the UWB tag base station is located is in a stationary state;

[0028] If yes, the control host controls the UWB tag base station to enter a sleep state.

[0029] In a second aspect, an embodiment of the present invention provides a rehabilitation therapy device based on UWB fusion, the device comprising:

[0030] A sending module, used for when the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station, and sends the initial position of the robotic arm to the control host;

[0031] A generating module, used for the control host to generate target treatment path information for the patient according to the initial position of the robot arm and the pre-configured treatment point of the patient; the target treatment path information includes a target treatment path trajectory, a target treatment time and a target pressure at the treatment point;

[0032] The physical therapy module is used for the control host to control the robotic arm to move from the initial position to the target treatment path trajectory, move according to the target treatment path trajectory, and based on the pressure sensor, provide real-time feedback on the real-time pressure applied to the treatment point by the treatment head at the end of the robotic arm, so that the pressure applied to the patient's treatment point meets the target pressure, so as to perform physical therapy on the patient through the treatment head until the treatment time is reached.

[0033] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, any step of a rehabilitation therapy method based on UWB fusion is performed.

[0034] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the computer program executes any one of the steps of a rehabilitation therapy method based on UWB fusion.

[0035] The embodiment of the present application provides a rehabilitation physiotherapy method based on UWB fusion, which is applicable to a physiotherapy system, wherein the physiotherapy system includes a control host, a main base station, a mechanical arm and a physiotherapy bed, wherein the main base station corresponds to a UWB tag base station and multiple secondary base stations, wherein the main base station and some of the secondary base stations are respectively located at the four corners of the physiotherapy bed, and the remaining secondary base stations are respectively located on the limbs of the patient being treated on the physiotherapy bed, wherein the UWB tag base station is located at the treatment head at the end of the mechanical arm, and a pressure sensor is also provided at the end of the mechanical arm. The method firstly receives the distance information to the mechanical arm collected by multiple secondary base stations and the initial position information of the mechanical arm detected by the UWB tag base station at the end of the mechanical arm when the patient is being treated on the physiotherapy bed, and determines the initial position of the mechanical arm based on the distance information to the mechanical arm collected by multiple secondary base stations and the initial position information of the mechanical arm detected by the UWB tag base station, and sends the initial position of the mechanical arm to the control host; then the control host determines the initial position of the mechanical arm based on the initial position of the mechanical arm, the predicted value and the predicted value. The treatment points of the patient are first configured to generate target treatment path information for the patient; the target treatment path information includes a target treatment path trajectory, a target treatment time and a target pressure at the treatment point; finally, the control host controls the robotic arm to move from the initial position to the target treatment path trajectory, moves according to the target treatment path trajectory, and based on the pressure sensor, real-time feedback is given of the real-time pressure applied to the treatment point by the treatment head at the end of the robotic arm, so that the pressure applied to the treatment point of the patient meets the target pressure, so that the patient is treated with the treatment head until the target treatment time is reached, and the pressure applied to the treatment point of the patient is continuously adjusted, thereby ensuring the patient's treatment effect, and accurately positioning the robotic arm based on the main base station, the UWB tag base station and multiple secondary base stations, thereby ensuring the accuracy of the patient's treatment, avoiding the problem that the existing rehabilitation therapy robot cannot accurately position the robotic arm and cannot adjust the therapy intensity, thereby reducing the therapy effect of the patient during the therapy process. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A schematic diagram of the process of a first UWB fusion-based rehabilitation therapy method provided in an embodiment of the present application is shown;

[0038] Figure 2 A schematic diagram showing the positions of a robotic arm and a patient provided in an embodiment of the present application is shown;

[0039] Figure 3 A schematic diagram of a sleep method for a UWB tag base station provided in an embodiment of the present application is shown;

[0040] Figure 4 A schematic structural diagram of a first UWB fusion-based rehabilitation therapy device provided in an embodiment of the present application is shown;

[0041] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0042] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0043] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0044] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0045] Existing rehabilitation therapy robots use algorithms to identify treatment points based on human image information from cameras, output treatment paths, and then use a robotic arm and massage head to plan paths and preset pressure to replace the existing method of using manual therapy to treat patients. However, in the actual therapy process, due to individual differences, the force applied to the patient cannot be adjusted, which reduces the therapeutic effect of the patient during the therapy process. At the same time, the method of using cameras to identify human image information and output treatment paths cannot achieve accurate positioning of the robotic arm, and thus cannot achieve accurate treatment effects.

[0046] Based on this, the embodiments of the present application provide a rehabilitation therapy method, device, equipment and medium based on UWB fusion, which is described below through embodiments.

[0047] Example 1

[0048] To facilitate understanding of this embodiment, a rehabilitation therapy method based on UWB fusion disclosed in the embodiment of this application is first introduced in detail. Figure 1 A flowchart of a rehabilitation therapy method based on UWB fusion is shown. The present application provides a rehabilitation therapy method based on UWB fusion, which is applicable to a therapy system. The therapy system includes a control host, a main base station, a mechanical arm and a therapy bed. The main base station corresponds to a UWB tag base station and multiple secondary base stations. The main base station and some of the secondary base stations are respectively located at the four corners of the therapy bed, and the remaining secondary base stations are respectively located on the limbs of the patient treated on the therapy bed. The UWB tag base station is located on the treatment head at the end of the mechanical arm. A pressure sensor is also provided at the end of the mechanical arm. The method includes:

[0049] S101, when the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station, and sends the initial position of the robotic arm to the control host;

[0050] S102, the control host generates target treatment path information for the patient according to the initial position of the robotic arm and the pre-configured treatment point of the patient; the target treatment path information includes a target treatment path trajectory, a target treatment time, and a target pressure at the treatment point;

[0051] S103, the control host controls the robotic arm to move from the initial position to the target treatment path trajectory, moves according to the target treatment path trajectory, and based on the pressure sensor, provides real-time feedback of the real-time pressure applied to the treatment point by the treatment head at the end of the robotic arm, so that the pressure applied to the treatment point of the patient meets the target pressure, so as to perform physical therapy on the patient through the treatment head until the target treatment time is reached.

[0052] Before step S101, the physiotherapy system includes a control host, a main base station, a robotic arm and a physiotherapy bed. The control host is an intelligent control device capable of controlling the physiotherapy system, such as a host in existing physiotherapy rehabilitation equipment or a computer, a computer and other intelligent control devices capable of data processing and analysis. The main base station corresponds to a UWB tag base station and multiple secondary base stations. The main base station and some of the secondary base stations are respectively located at the four corners of the physiotherapy bed, and the remaining secondary base stations are respectively located on the limbs of the patient treated on the physiotherapy bed, that is, the remaining secondary base stations are fixed on the patient's limbs in the form of wearable rings or similar forms, that is, the main base station is set to 1, and there are seven secondary base stations. The UWB tag base station is located on the treatment head at the end of the robotic arm, and the patient is treated or physically treated based on the treatment head on the robotic arm to achieve the desired therapeutic effect. A pressure sensor is also provided at the end of the robotic arm. The pressure sensor is used to detect the real-time pressure applied to the patient by the robotic arm, so as to achieve the therapeutic effect. The model of the pressure sensor is not limited here, and a pressure sensor that can realize pressure detection and pressure output in the prior art can be used.

[0053] The UWB positioning technology used in the UWB tag base station can achieve centimeter-level positioning accuracy, ensuring the accuracy and reliability of positioning; the output UWB signal is insensitive to channel fading and has low interception capability, making the positioning result more stable and reliable. UWB signal transmission is not subject to other radio frequency interference and can maintain positioning stability and accuracy in complex environments.

[0054] In step S101, when the patient is undergoing treatment, the patient needs to lie on a treatment bed, and the control host and the robotic arm are placed adjacent to the treatment bed to treat the patient. Figure 2As shown, when the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station. The TWR ranging principle is adopted in this process, and the TWR ranging principle is a mature technology in the prior art. Since there are four secondary base stations located on the patient's limbs and the position of the patient's limbs is relatively fixed during the treatment process, the patient's initial position can be inferred through the relative position relationship between the robotic arm and the patient's limbs, and the initial position of the robotic arm is sent to the control host, and the initial position of the patient is also sent to the main control host.

[0055] Doctors, nurses or other caregivers can initialize the settings through the control host and reset the robotic arm, that is, clear the treatment traces of the previous patient, thereby ensuring the accuracy of the treatment of the patient.

[0056] Before the ranging information and initial position information are transmitted between the main base station and the UWB tag base station and multiple secondary base stations, the control host sends a start signal to the main base station, and the main base station responds to the start signal and sends ranging start information to the UWB tag base station and multiple secondary base stations respectively; the UWB tag base station and multiple secondary base stations receive and respond to the ranging start information, measure the distance between the UWB tag base station and the multiple secondary base stations to obtain distance information, and send the ranging distance to the main base station, and the main base station obtains the position of the robotic arm to establish communication between the main base station and the multiple secondary base stations and the UWB tag base station.

[0057] In step S102, the control host generates target treatment path information for the patient based on the initial position of the robotic arm and the pre-configured treatment points of the patient. The initial position of the robotic arm is the position after the robotic arm is reset. The target treatment path information includes the target treatment path trajectory, the target treatment time and the target pressure at the treatment point.

[0058] The pre-configured treatment points of the patient are based on the condition diagnosed by a doctor or a person with the ability to diagnose the condition and the treatment points that need to be treated, or are the treatment points that need to be treated obtained by taking pictures and scanning the human body with a camera carried by the robotic arm itself. The control host pre-stores a point path table or a point path module. According to the point path table and the treatment points of the patient that need to be treated, target treatment path information for the patient can be obtained. The point path module can generate target path treatment information for the patient according to the treatment points that need to be treated of the patient based on a pre-stored algorithm. The pre-stored algorithm is a mature technology in the prior art and will not be elaborated here. The target treatment path information includes but is not limited to the target treatment path trajectory, target treatment time and target pressure at the treatment point, and may also include target treatment times, target treatment mode, etc.

[0059] In S103, the control host controls the robotic arm to move from the initial position to the target treatment path trajectory, and moves along the target treatment path trajectory, so that the patient is treated according to the target treatment path trajectory through the treatment head at the end of the robotic arm, and the real-time pressure of the treatment point applied to the treatment point by the treatment head at the end of the robotic arm is fed back in real time based on the pressure sensor, that is, the pressure of the treatment point applied to the patient by the treatment head is detected in real time by the pressure sensor, and the pressure is fed back to the control host, and the control host compares the received pressure with the target pressure set for the patient. If it exceeds the target pressure, the pressure applied to the patient by the treatment head is reduced. If the pressure fed back by the pressure sensor is much smaller than the target pressure, the pressure applied to the patient by the treatment head is appropriately increased until the pressure applied to the treatment point of the patient meets the target pressure, so as to perform physical therapy on the patient through the treatment head until the target treatment time is reached, thereby achieving the corresponding treatment effect.

[0060] In the specific implementation process of step S103, there is an embodiment in which: the moving according to the target treatment path trajectory includes:

[0061] S10311. In the process of moving along the target treatment path trajectory, the main base station receives in real time the real-time distance information from the secondary base stations to the robotic arm output by the secondary base stations located at the patient's limbs, determines the real-time position of the robotic arm based on the received real-time distance information from the secondary base stations to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station, and determines the real-time position of the patient based on the real-time position of the robotic arm;

[0062] S10312. Determine a real-time treatment path trajectory for the patient based on the real-time position of the patient to determine whether the real-time treatment path trajectory is consistent with the target treatment path trajectory;

[0063] S10313. If not, update the target treatment path trajectory to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm.

[0064] In steps S10311-S10313, while the robotic arm is being moved according to the target treatment path trajectory, the main base station receives in real time the real-time distance information from the secondary base station to the robotic arm output by the UWB tag base station and multiple secondary base stations located at the patient's limbs, thereby determining the real-time position of the robotic arm, and determining the patient's real-time position based on the real-time position of the robotic arm. If the real-time distance information from the secondary base stations to the robotic arm output by multiple secondary base stations located at the patient's limbs changes, and the real-time position information of the robotic arm output by the UWB tag base station is consistent with the target treatment path trajectory, indicating that the patient has moved, that is, the patient's real-time position has changed, then the control host regenerates and determines the real-time treatment path trajectory for the patient according to the patient's real-time position, and compares the real-time treatment path trajectory with the target treatment path trajectory. The treatment path trajectory is judged to determine whether the real-time treatment path trajectory and the target treatment path trajectory are consistent. If they are consistent, it indicates that the patient's movement does not affect the treatment point, that is, the position or coordinate of the treatment point has not changed, and the target treatment path trajectory does not need to be updated. If the real-time treatment path trajectory and the target treatment path trajectory are inconsistent, it indicates that the patient's movement affects the treatment point, that is, the position or coordinate of the treatment point has changed, then the target treatment path trajectory is updated to the real-time treatment path trajectory, that is, the real-time treatment path trajectory is used as the target treatment path trajectory to move the robotic arm, so as to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm, thereby completing the precise treatment effect on the patient.

[0065] In the specific implementation process of step S10313, there is an embodiment: if not, updating the target treatment path trajectory to control the manipulator arm to move to the updated target treatment path trajectory based on the real-time position of the manipulator arm, including:

[0066] S1031311, the control host calculates the deviation value between the updated target treatment path trajectory and the real-time position of the robotic arm determined based on multiple secondary base stations and the UWB tag base station;

[0067] S1031312. The control host controls the robot arm to move to the updated target treatment path trajectory through a PID algorithm based on the deviation value.

[0068] In steps S1031311-S1031312, the control host compares the updated target treatment path trajectory with the real-time position of the robotic arm determined based on multiple secondary base stations and UWB tag base stations. If the real-time position of the robotic arm is on the updated target treatment path trajectory, there is no need to move the robotic arm to the updated target treatment path trajectory, and the patient can continue to be treated through the treatment head at the end of the robotic arm. If the real-time position of the robotic arm is not on the updated target treatment path trajectory, the updated target treatment path trajectory has a large change from the original target treatment path trajectory, and the robotic arm needs to be moved to the updated target treatment path trajectory. The deviation value between the real-time position of the robotic arm and the updated target treatment path trajectory is calculated. Based on the deviation value, the control host controls the robotic arm to move to the updated target treatment path trajectory through the PID algorithm, so as to continue to accurately treat the patient. The PID algorithm is an existing mature technology.

[0069] In the specific implementation process of step S10313, there is another embodiment: if not, then updating the target treatment path trajectory to control the manipulator arm to move to the updated target treatment path trajectory based on the real-time position of the manipulator arm, further comprising:

[0070] S1031321. After controlling the movement of the robotic arm, re-measure the position of the robotic arm based on the position information of the primary base station, the UWB tag base station, and the plurality of secondary base stations to determine whether the position information conforms to the target treatment path trajectory updated by the control host;

[0071] S1031322. If it meets the requirements, the robot arm is controlled to move according to the updated target treatment path trajectory.

[0072] In steps S1031321-S1031322, after moving the robotic arm to the updated target treatment path trajectory, the control host re-determines the position of the robotic arm based on the main base station, UWB tag base station and multiple secondary base stations, and determines whether the moved robotic arm conforms to the updated target treatment path trajectory, that is, determines whether the moved robotic arm is on the updated target treatment path trajectory. If it conforms, it indicates that the robotic arm is on the updated target treatment path trajectory, that is, the control host has accurately controlled the robotic arm. If it does not conform, it indicates that the robotic arm is not on the updated target treatment path trajectory, then the robotic arm is repeatedly moved until the position of the robotic arm is on the updated target treatment path trajectory, thereby completing the treatment of the patient and ensuring the treatment effect.

[0073] In the specific implementation process of step S103, there is another embodiment: a gyroscope sensor is also provided at the end of the robotic arm; the model of the gyroscope sensor is not limited here, and the gyroscope sensor is used to detect movement information of the robotic arm;

[0074] The control host controls the robot arm to move from the initial position to the target treatment path trajectory, and moves according to the target treatment path trajectory, including:

[0075] S10321, the control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period;

[0076] S10322. The control host controls the robotic arm to move within a preset time period according to the obtained position information and posture information of the robotic arm to be moved within the preset time period.

[0077] In steps S10321-S10322, the control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period, and controls the robotic arm to move more smoothly to the updated target treatment path trajectory according to the obtained position information and posture information of the robotic arm to be moved within the preset time period. That is, if the angle of movement of the robotic arm to the updated target treatment path trajectory is large, the robotic arm can move smoothly or smoothly instead of moving abruptly to the updated target treatment path trajectory, thereby completing accurate treatment of the patient, thereby further ensuring the patient's treatment experience. If during the treatment process, the control host monitors the patient's abnormal behavior in real time according to the patient's real-time position, the control host will take emergency measures when necessary, such as stopping treatment, adjusting the treatment path trajectory, etc., to ensure the patient's safety.

[0078] In the specific implementation process of step S10321, there is an embodiment in which the control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period, including:

[0079] S103211, the control host detects the angular velocity and acceleration of the robotic arm in real time according to the gyroscope sensor, and predicts the movement information of the robotic arm within a preset time period based on the angular velocity and acceleration of the robotic arm, wherein the movement information includes the movement speed and the movement direction;

[0080] S103212. The control host generates the position information and posture information of the robotic arm to be moved within a preset time period based on the moving speed and moving direction of the robotic arm and the real-time position information of the end of the robotic arm detected by the UWB tag base station.

[0081] In steps S103211-S103212, the gyroscope sensor detects the angular velocity and acceleration of the robotic arm in real time, and sends the angular velocity and acceleration to the control host. The control host predicts the movement information of the robotic arm within a preset time period based on the angular velocity and acceleration of the robotic arm. The preset time period can be the time period of the next action performed by the robotic arm or the next time period of the robotic arm. The movement information includes a moving speed and a moving direction. According to the moving speed, moving direction and the real-time position information of the end of the robotic arm detected by the UWB tag base station, the position information and posture information of the robotic arm to be moved within the preset time period are generated, and then the robotic arm is smoothly moved to the updated target treatment path trajectory according to the position information and posture information of the robotic arm to be moved within the preset time period.

[0082] In the specific implementation process of step S103, there is another embodiment: Figure 3 As shown, the real-time position of the robotic arm is determined based on the received real-time distance information from multiple secondary base stations located at the patient's limbs to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station, including:

[0083] S10331. Determine whether the robotic arm where the UWB tag base station is located is in a stationary state based on the real-time position of the robotic arm detected by the UWB tag base station;

[0084] S10332: If yes, the control host controls the UWB tag base station to enter a sleep state.

[0085] In steps S10331-S10332, the control host determines whether the robotic arm where the UWB tag base station is located is in a stationary state based on the real-time position of the robotic arm detected by the UWB tag base station. That is, if the real-time position of the robotic arm has not changed, it means that the robotic arm is in a stationary state. At this time, the control host controls the UWB tag base station to enter a sleep state to avoid excessive energy consumption of the UWB tag base station affecting the long-term use of the UWB tag base station. When the real-time position of the robotic arm detected by the UWB tag base station or the control host predicts that the robotic arm moves within a preset time period based on the movement information of the robotic arm predicted by the gyroscope sensor, the control host wakes up the UWB tag base station through the gyroscope sensor, so that the UWB tag base station re-enters the working state, thereby greatly reducing the energy consumption of the physical therapy system.

[0086] Example 2

[0087] The present application also provides a rehabilitation therapy device based on UWB fusion, such as Figure 4 The block diagram of a rehabilitation therapy device based on UWB fusion is shown. The functions implemented by the rehabilitation therapy device based on UWB fusion correspond to the steps of executing a rehabilitation therapy method based on UWB fusion on the terminal device. The device can be understood as a component of a server including a processor, and the device includes:

[0088] The sending module 401 is used for, when the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station, and sends the initial position of the robotic arm to the control host;

[0089] A generating module 402 is used for the control host to generate target treatment path information for the patient according to the initial position of the robot arm and the pre-configured treatment point of the patient; the target treatment path information includes a target treatment path trajectory, a target treatment time, and a target pressure at the treatment point;

[0090] The physical therapy module 403 is used for the control host to control the robot arm to move from the initial position to the target treatment path trajectory, move according to the target treatment path trajectory, and based on the pressure sensor, provide real-time feedback of the real-time pressure applied to the treatment point by the treatment head at the end of the robot arm, so that the pressure applied to the patient's treatment point meets the target pressure, so as to perform physical therapy on the patient through the treatment head until the treatment time is reached.

[0091] In a feasible implementation, the physical therapy module includes:

[0092] A receiving module, configured to receive, in real time, the real-time distance information from the secondary base stations to the robotic arm output by the secondary base stations located at the patient's limbs during the movement along the target treatment path trajectory, determine the real-time position of the robotic arm based on the received real-time distance information from the secondary base stations to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station, and determine the real-time position of the patient based on the real-time position of the robotic arm;

[0093] A determination module, used to determine a real-time treatment path trajectory for the patient based on the real-time position of the patient, so as to determine whether the real-time treatment path trajectory is consistent with the target treatment path trajectory;

[0094] An updating module is used to update the target treatment path trajectory if not, so as to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm.

[0095] In a feasible implementation manner, the physical therapy module further includes:

[0096] A calculation module, used for the control host to calculate the deviation value between the updated target treatment path trajectory and the real-time position of the robotic arm determined based on multiple secondary base stations and the UWB tag base station;

[0097] A control module is used for the control host to control the robot arm to move to the updated target treatment path trajectory through a PID algorithm based on the deviation value.

[0098] In a feasible implementation, the physical therapy module further comprises:

[0099] A judgment module, used for, after controlling the movement of the robotic arm, re-based on the position of the robotic arm measured by the main base station, the UWB tag base station and the plurality of secondary base stations, to judge whether the position information conforms to the target treatment path trajectory updated by the control host;

[0100] The first moving module is used to control the robot arm to move according to the updated target treatment path trajectory if it meets the requirements.

[0101] In a feasible implementation, the physical therapy module further includes:

[0102] A fusion module is used for the control host to fuse the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period;

[0103] The second moving module is used for the control host to control the robot arm to move within a preset time period according to the obtained position information and posture information of the robot arm to be moved within the preset time period.

[0104] In a feasible implementation, the physical therapy module further includes:

[0105] A first detection module, used for the control host to detect the angular velocity and acceleration of the mechanical arm in real time according to the gyroscope sensor, and to predict the movement information of the mechanical arm within a preset time period based on the angular velocity and acceleration of the mechanical arm, wherein the movement information includes the movement speed and the movement direction;

[0106] The second detection module is used for the control host to generate the position information and posture information of the robot arm to be moved within a preset time period based on the moving speed and moving direction of the robot arm and the real-time position information of the end of the robot arm detected by the UWB tag base station.

[0107] In a feasible implementation, the physical therapy module further includes:

[0108] The third detection module is used to determine whether the mechanical arm where the UWB tag base station is located is in a stationary state based on the real-time position of the mechanical arm detected by the UWB tag base station;

[0109] The entry module is used to control the UWB tag base station to enter a sleep state if the host computer controls the UWB tag base station to enter a sleep state.

[0110] Example 3

[0111] The present application also provides an electronic device, such as Figure 5 As shown, it includes: a processor 501, a memory 502 and a bus 503, the memory 502 stores machine-readable instructions executable by the processor 501, when the electronic device is running, the processor 501 communicates with the memory 502 through the bus 503, and when the machine-readable instructions are executed by the processor 501, any one of the steps of the rehabilitation therapy method based on UWB fusion is performed.

[0112] Example 4

[0113] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program executes any one of the steps of a rehabilitation therapy method based on UWB fusion.

[0114] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0115] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0116] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0117] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a platform server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0118] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A rehabilitation therapy method based on UWB fusion, characterized in that: Applicable to a physiotherapy system, the physiotherapy system includes a control host, a main base station, a mechanical arm and a physiotherapy bed, the main base station corresponds to a UWB tag base station and multiple secondary base stations, the main base station and some of the secondary base stations are respectively located at the four corners of the physiotherapy bed, and the remaining secondary base stations are respectively located on the limbs of the patient treated on the physiotherapy bed, the UWB tag base station is located on the treatment head at the end of the mechanical arm, and a pressure sensor is also provided at the end of the mechanical arm, and the method includes: When the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station, and sends the initial position of the robotic arm to the control host; The control host generates target treatment path information for the patient according to the initial position of the robotic arm and the pre-configured treatment point of the patient; the target treatment path information includes the target treatment path trajectory, the target treatment time and the target pressure at the treatment point; The control host controls the robotic arm to move from the initial position to the target treatment path trajectory, moves along the target treatment path trajectory, and based on the pressure sensor, provides real-time feedback of the real-time pressure applied to the treatment point by the treatment head at the end of the robotic arm, so that the pressure applied to the patient's treatment point meets the target pressure, so that the patient can be treated through the treatment head until the target treatment time is reached.

2. The method according to claim 1, characterized in that: The moving according to the target treatment path trajectory includes: In the process of moving along the target treatment path trajectory, the main base station receives in real time the real-time distance information from the secondary base stations to the robotic arm output by the secondary base stations located at the patient's limbs, determines the real-time position of the robotic arm based on the received real-time distance information from the secondary base stations to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station, and determines the real-time position of the patient based on the real-time position of the robotic arm; Based on the real-time position of the patient, determine the real-time treatment path trajectory for the patient to determine whether the real-time treatment path trajectory is consistent with the target treatment path trajectory; If not, the target treatment path trajectory is updated to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm.

3. The method according to claim 2, characterized in that If not, updating the target treatment path trajectory to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm, including: The control host calculates a deviation value between the updated target treatment path trajectory and the real-time position of the robotic arm determined based on multiple secondary base stations and the UWB tag base station; The control host controls the robot arm to move to the updated target treatment path trajectory through a PID algorithm based on the deviation value.

4. The method according to claim 2, characterized in that: If not, then updating the target treatment path trajectory to control the robotic arm to move to the updated target treatment path trajectory based on the real-time position of the robotic arm, further comprising: After controlling the movement of the robotic arm, re-measure the position of the robotic arm based on the position information of the main base station, the UWB tag base station and the plurality of secondary base stations to determine whether the position information conforms to the target treatment path trajectory updated by the control host; If it meets the requirements, the robotic arm is controlled to move according to the updated target treatment path trajectory.

5. The method according to claim 1, characterized in that A gyroscope sensor is also provided at the end of the mechanical arm; The control host controls the robot arm to move from the initial position to the target treatment path trajectory, and moves according to the target treatment path trajectory, including: The control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period; The control host controls the robot arm to move within a preset time period according to the obtained position information and posture information of the robot arm to be moved within the preset time period.

6. The method according to claim 5, characterized in that The control host fuses the movement information of the robotic arm predicted by the gyroscope sensor and the real-time position information of the robotic arm detected by the UWB tag base station to obtain the position information and posture information of the robotic arm to be moved within a preset time period, including: The control host detects the angular velocity and acceleration of the mechanical arm in real time according to the gyro sensor, and predicts the movement information of the mechanical arm within a preset time period based on the angular velocity and acceleration of the mechanical arm, wherein the movement information includes the movement speed and the movement direction; The control host generates the position information and posture information of the robotic arm to be moved within a preset time period based on the moving speed and moving direction of the robotic arm and the real-time position information of the end of the robotic arm detected by the UWB tag base station.

7. The method according to claim 2, characterized in that The method of determining the real-time position of the robotic arm based on the received real-time distance information from multiple secondary base stations located at the patient's limbs to the robotic arm and the real-time position information of the robotic arm detected by the UWB tag base station includes: Based on the real-time position of the robotic arm detected by the UWB tag base station, it is determined whether the robotic arm where the UWB tag base station is located is in a stationary state; If yes, the control host controls the UWB tag base station to enter a sleep state.

8. A rehabilitation therapy device based on UWB fusion, characterized in that: The device comprises: A sending module, used for when the patient is receiving treatment on the physiotherapy bed, the main base station receives the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station at the end of the robotic arm, and determines the initial position of the robotic arm based on the distance information to the robotic arm collected by the multiple secondary base stations and the initial position information of the robotic arm detected by the UWB tag base station, and sends the initial position of the robotic arm to the control host; A generating module, used for the control host to generate target treatment path information for the patient according to the initial position of the robot arm and the pre-configured treatment point of the patient; the target treatment path information includes a target treatment path trajectory, a target treatment time and a target pressure at the treatment point; The physical therapy module is used for the control host to control the robotic arm to move from the initial position to the target treatment path trajectory, move according to the target treatment path trajectory, and based on the pressure sensor, provide real-time feedback on the real-time pressure applied to the treatment point by the treatment head at the end of the robotic arm, so that the pressure applied to the patient's treatment point meets the target pressure, so as to perform physical therapy on the patient through the treatment head until the treatment time is reached.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of a rehabilitation therapy method based on UWB fusion as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of a rehabilitation therapy method based on UWB fusion as described in any one of claims 1 to 7 are executed.