Autonomous navigation method and device of physiotherapy robot and physiotherapy robot
By identifying obstacles and optimizing the travel route, the impact of bumps on the accuracy of physical therapy robot devices is predicted, which solves the problem of poor navigation effects in the existing technology and achieves higher navigation accuracy and service life.
Patent Information
- Application Number
- CN202410896070.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Existing physical therapy robot navigation does not consider the impact of bumps and vibrations on component accuracy, resulting in poor navigation effects, reduced robot performance, and short service life.
By collecting images of the travel area of the physical therapy robot, identifying obstacles and optimizing the travel route, predicting the impact of bumps on device accuracy, selecting the travel route with the least impact, and performing freewheeling current detection after arriving at the navigation destination to ensure the accuracy of the physical therapy robot Meet the requirements.
It effectively reduces the impact of bumps on the accuracy of the physical therapy robot's components, improves the navigation effect, extends the service life of the robot, and ensures the stability of the physical therapy effect.
Smart Images

Figure CN118418143B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of physiotherapy robots, and in particular to an autonomous navigation method and device of a physiotherapy robot and a physiotherapy robot. Background Art
[0002] In order to improve the standardization and efficiency of physical therapy, physical therapy robots have been developed in the field of physical therapy, which mainly refer to massage robots, moxibustion robots, acupuncture robots and other robots that can provide customers with non-drug treatment behaviors. With the current demand for intelligent hospitals, physical therapy centers, massage centers and hospitals, the demand for mobile navigation has gradually increased for physical therapy robots.
[0003] At present, service robot navigation is generally used in hotel delivery robots, whose purpose is to deliver items to the user's location, and even if there are bumps and vibrations, it will not affect the user. However, for physiotherapy robots, it will affect the accuracy of its core components, such as the drive motors that drive the massage head and moxibustion head, resulting in poor physiotherapy effects and affecting the user's physiotherapy effects. With the increase in the number of bumps, collisions and vibrations, the deviation of the core components will become more serious, and eventually the physiotherapy robot will soon be unable to continue to be used.
[0004] The existing physiotherapy robot navigation technology does not take into account the impact of bumps and vibrations on component accuracy, resulting in poor navigation effects and technical problems that affect robot performance. Summary of the invention
[0005] The present application provides an autonomous navigation method, device and physiotherapy robot for a physiotherapy robot, which are used to solve the technical problems in the prior art that the navigation of the physiotherapy robot does not take into account the influence of bumps and vibrations on the accuracy of components, resulting in poor navigation effect and affecting the performance of the robot.
[0006] In a first aspect of the present application, there is provided an autonomous navigation method for a physiotherapy robot, the method comprising:
[0007] In response to a navigation instruction, collecting a regional image of a travel area of the physiotherapy robot, wherein the navigation instruction includes a navigation route and a navigation destination, and the travel area is a part or all of the area in the navigation route;
[0008] Performing obstacle recognition on the area image to obtain an obstacle recognition result, wherein the obstacle recognition includes obstacle category recognition and obstacle specification recognition;
[0009] According to the obstacle identification result, the travel route is optimized to obtain the optimal travel route, wherein, in the process of optimizing the travel route, the influence of the obstacle bump on the accuracy of the preset components of the physiotherapy robot is predicted according to the generated travel route, and the travel route with the least influence is optimized to obtain as the optimal travel route;
[0010] Travel along the optimal route, and after arriving at the navigation destination, detect the freewheeling current of the therapy robot according to the preset freewheeling current detection rules. If it meets the requirements, perform therapy, and if it does not meet the requirements, notify.
[0011] A second aspect of the present application provides an autonomous navigation device for a physiotherapy robot, the device comprising:
[0012] A regional image acquisition module, used for acquiring a regional image of a travel area of the physiotherapy robot in response to a navigation instruction, wherein the navigation instruction includes a navigation route and a navigation destination, and the travel area is a part or all of the area in the navigation route;
[0013] An obstacle recognition module is used to perform obstacle recognition on the area image and obtain an obstacle recognition result, wherein the obstacle recognition includes obstacle category recognition and obstacle specification recognition;
[0014] A route optimization module, used to optimize the route according to the obstacle identification result to obtain the optimal route, wherein, during the route optimization process, the influence of obstacle bumps on the accuracy of preset components of the physiotherapy robot is predicted according to the generated route, and the route with the least influence is optimized to be obtained as the optimal route;
[0015] The accuracy detection module is used to travel according to the optimal route. After reaching the navigation destination, the freewheeling current of the therapy robot is detected according to the preset freewheeling current detection rules. If it meets the requirements, the therapy is performed; if it does not meet the requirements, a notification is issued.
[0016] According to a third aspect of the present application, a physiotherapy robot is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and the computer program implements the steps of the method in the first aspect when executed by the processor.
[0017] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0018] The technical solution provided by the present application collects images of the area where the therapy robot is traveling, identifies obstacles therein, and then optimizes the route. During route optimization, the impact of the bumps on the accuracy of the therapy robot's devices is predicted, and the route with the least impact is selected and traveled. After arrival, the freewheeling current of the therapy robot is detected using a preset freewheeling current detection rule to ensure that the accuracy of the therapy robot during therapy can meet the requirements. The present application reduces the impact of accuracy and performs detection by identifying obstacles and optimizing routes, and can take into account the impact of bumps on accuracy in the navigation of the therapy robot, thereby improving the navigation effect and achieving the technical effect of ensuring the performance of the therapy robot and increasing its service life. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram of a flow chart of an autonomous navigation method of a physiotherapy robot provided in this application;
[0020] Figure 2 A schematic diagram of the structure of an autonomous navigation device for a physiotherapy robot provided in this application.
[0021] Figure 3 This is a schematic diagram of the structure of an exemplary physiotherapy robot according to an embodiment of the present application.
[0022] Explanation of the reference numerals: regional image acquisition module 11, obstacle recognition module 12, route selection optimization module 13, accuracy detection module 14, physiotherapy robot 300, memory 301, processor 302, communication interface 303, bus architecture 304. Specific implementation methods
[0023] The present application provides an autonomous navigation method, device and physiotherapy robot for a physiotherapy robot, aiming to solve the technical problem that the navigation of the physiotherapy robot in the prior art does not take into account the influence of bumps and vibrations on the accuracy of components, resulting in poor navigation effect and affecting the performance of the robot. Example
[0024] like Figure 1 As shown, the present application provides an autonomous navigation method for a physiotherapy robot, the method comprising:
[0025] S101: In response to a navigation instruction, collecting an area image of a travel area of the physiotherapy robot, wherein the navigation instruction includes a navigation route and a navigation destination, and the travel area is a part or all of the area in the navigation route;
[0026] In an embodiment of the present application, an autonomous navigation method of a physiotherapy robot provided in an embodiment of the present application is applied to a physiotherapy robot, which may include the basic navigation function of a service robot in the prior art, namely, planning a navigation route in a preset space according to a starting point and an end point, generating a navigation route and navigation instructions, and the preset space may be, for example, a physiotherapy center, a medical clinic, etc.
[0027] Optionally, the navigation instructions may also be generated based on a remote control device of the physiotherapy robot.
[0028] In this way, a basic navigation route can be generated based on the current position of the physiotherapy robot and the navigation destination to form navigation instructions.
[0029] In response to the navigation instruction, before moving, the regional image of the physiotherapy robot's travel area can be captured according to the navigation route. The travel area is part or all of the area in the navigation route. For example, if the navigation route is shorter, the travel area may be the entire area of the navigation route. Conversely, if the navigation route is longer, the travel area may be a partial area of the navigation route.
[0030] In areas such as medical clinics and physiotherapy clinics, the ground may easily have raised or sunken obstacles, such as raised or sunken floor tiles, waste, etc., which will cause a bumpy effect on the movement of the physiotherapy robot and further affect the accuracy of its internal components. Therefore, obstacle identification based on images of the area can improve the accuracy of subsequent route optimization.
[0031] S102: performing obstacle recognition on the area image to obtain an obstacle recognition result, wherein the obstacle recognition includes obstacle category recognition and obstacle specification recognition;
[0032] In the embodiment of the present application, obstacles in the acquired regional image are identified, and obstacle identification results in the travel area are obtained, which serve as a basis for subsequent travel route optimization.
[0033] Among them, obstacle recognition includes obstacle category recognition and obstacle specification recognition. The obstacle category refers to the material category of the obstacle, and the obstacle specification, such as the size of the obstacle, will affect the bump amplitude of the physiotherapy robot.
[0034] Exemplarily, based on the image recognition technology in the prior art, obstacles are identified and obstacle recognition results are obtained.
[0035] Step S102 in the method provided in the embodiment of the present application includes:
[0036] Collecting a set of sample area images, dividing and marking images of convex obstacles and concave obstacles in each sample area image, and obtaining a set of sample obstacle segmentation images;
[0037] Using the sample area image set and the sample obstacle segmentation image set to train an obstacle image segmentor;
[0038] Using the obstacle image segmentor, the obstacle image is identified and segmented on the regional image to obtain a convex obstacle image set and a concave obstacle image set, wherein if the regional image does not include an obstacle image, the navigation route is followed;
[0039] Performing obstacle category recognition and obstacle specification recognition on the convex obstacle image set, and performing obstacle specification recognition on the concave obstacle image set, to obtain a convex obstacle information set and a concave obstacle information set;
[0040] According to the positions of the convex obstacle image set and the concave obstacle image set in the regional image, the convex obstacle information set and the concave obstacle information set are marked in the regional image to obtain the obstacle recognition result.
[0041] In the embodiment of the present application, the obstacles include raised obstacles and recessed obstacles, and the raised obstacles and recessed obstacles need to be identified separately to improve the accuracy of obstacle identification.
[0042] First, the images of concave obstacles and convex obstacles are segmented and then identified separately to improve the recognition accuracy of single obstacle features.
[0043] According to the historical data of obstacle recognition, a set of sample area images is collected, and then the images of convex obstacles and concave obstacles in each sample area image are divided and marked to obtain a set of sample obstacle segmentation images.
[0044] Furthermore, the sample region image set and the sample obstacle segmentation image set are used to train an obstacle image segmentor for segmenting a single image of different types of obstacles.
[0045] The image segmentation machine learning technology in the prior art is used to construct the obstacle image segmentor and train it until convergence. For example, based on semantic segmentation, the obstacle image segmentor is constructed, and then supervised training is performed using a sample area image set and a sample obstacle segmentation image set until convergence, for example, the accuracy rate reaches 95%.
[0046] The trained obstacle image segmentor is used to perform obstacle image recognition and segmentation on the regional image, and multiple images of convex obstacles are obtained as a convex obstacle image set, and multiple images of concave obstacles are obtained as a concave obstacle image set.
[0047] If it is identified that the area image does not include an obstacle image, it means that there is no obstacle in the travel area, and there is no need to optimize the route, and the navigation route can be directly followed.
[0048] In the embodiment of the present application, the sunken obstacle is generally caused by road subsidence, and the raised obstacle may be a road bulge, or it may be formed by a mask or other items falling on the ground. Therefore, the material and specifications of the raised obstacle will affect the bumping of the physiotherapy robot, and the specifications of the sunken obstacle will affect the bumping of the physiotherapy robot.
[0049] Therefore, obstacle category recognition, obstacle specification recognition, obstacle material recognition and size recognition are performed on the convex obstacle image set, and obstacle specification recognition is only required for the concave obstacle image set. Based on the recognition results, a convex obstacle information set and a concave obstacle information set are obtained. The convex obstacle information set includes the material and size information of multiple convex obstacles, and the concave obstacle information set includes the size information of multiple concave obstacles.
[0050] According to the results of the image segmentation of raised obstacles and recessed obstacles in the aforementioned content, the coordinate position information of multiple raised obstacles and multiple recessed obstacles in the regional image can be determined. According to the multiple coordinate position information, the raised obstacle information set and the recessed obstacle information set are identified in the regional image, and the visualized obstacle distribution in the regional image and the obstacle feature information can be obtained as the obstacle recognition result of obstacle recognition.
[0051] The step of "performing obstacle category identification and obstacle specification identification on the convex obstacle image set, and performing obstacle specification identification on the concave obstacle image set" in the method provided in the embodiment of the present application includes:
[0052] Collecting a sample raised obstacle image set, marking the category and specification of the raised obstacles in the sample raised obstacle image, and obtaining a sample raised obstacle information set;
[0053] Using the sample raised obstacle image set and the sample raised obstacle information set, constructing a raised obstacle identifier, performing obstacle category identification and obstacle specification identification on the raised obstacle image set, and obtaining a raised obstacle information set;
[0054] Collecting a sample concave obstacle image set, marking the concave obstacle specifications in the sample concave obstacle image, and obtaining a sample concave obstacle information set;
[0055] The sample concave obstacle image set and the sample concave obstacle information set are used to construct a concave obstacle identifier, and obstacle specifications are identified on the concave obstacle image set to obtain a concave obstacle information set.
[0056] In the embodiment of the present application, based on the recognition records of raised obstacles, a sample raised obstacle image set is collected, and raised obstacle images of multiple regions may also be collected as the sample raised obstacle image set.
[0057] The category and specification of the raised obstacle in each sample raised obstacle image are identified and marked, such as identifying the material category and the size specification of the raised obstacle, to obtain a sample raised obstacle information set, wherein the size specification includes, for example, the diameter, height, shape and other information of the raised obstacle.
[0058] The sample raised obstacle image set and the sample raised obstacle information set are used as construction data to construct a raised obstacle identifier. The raised obstacle identifier is constructed by using the image recognition technology in the prior art, and the sample raised obstacle image set and the sample raised obstacle information set are used as supervised training data for training until convergence, thereby completing the construction of the raised obstacle identifier.
[0059] Exemplarily, the raised obstacle identifier is constructed and trained based on a convolutional neural network.
[0060] The raised obstacle identifier is used to perform obstacle category recognition and obstacle specification recognition on the raised obstacle image set obtained by segmentation, and obtain the category information and specification information of the raised obstacles as the raised obstacle information set.
[0061] Based on the same steps, a sample concave obstacle image set is collected, the concave obstacle specifications in the sample concave obstacle image are marked, and a sample concave obstacle information set is obtained.
[0062] Among them, the specifications of the concave obstacle include the depth, diameter, shape, etc. of the concave obstacle.
[0063] Furthermore, the present concave obstacle image set and the sample concave obstacle information set are used to construct a concave obstacle identifier, and the concave obstacle specifications are identified on the concave obstacle image set obtained by segmentation in the above content to obtain a concave obstacle information set.
[0064] The embodiment of the present application adopts image processing technology to segment the images of raised obstacles and recessed obstacles respectively, and then separately perform obstacle feature recognition, thereby improving the convergence efficiency and accuracy of the identifier, improving the accuracy of obstacle feature recognition, and obtaining obstacle recognition results as the basis for route optimization, which can improve the accuracy of subsequent route optimization.
[0065] S103: Optimizing the travel route according to the obstacle identification result to obtain an optimal travel route, wherein, during the travel route optimization process, the influence of obstacle bumps on the accuracy of preset components of the physiotherapy robot is predicted according to the generated travel route, and the travel route with the least influence is optimized and obtained as the optimal travel route;
[0066] In the embodiment of the present application, after obtaining the obstacle recognition result in the travel area, the planning and optimization of the specific travel route is performed therein.
[0067] During the route optimization process, the impact of obstacle bumps on the accuracy of the preset devices of the physiotherapy robot is predicted based on the generated route, and the route with the least impact is optimized to minimize the impact of bumps on the accuracy of the physiotherapy robot, ensure the performance of the physiotherapy robot, and obtain the optimal route.
[0068] The travel route can be optimized based on the optimization algorithm in the prior art.
[0069] In the embodiments of the present application, the aisles in the scenarios where the physiotherapy robot is used are generally narrow and there may be many obstacles. Therefore, it is impossible to set an optimized route for the physiotherapy robot to completely bypass the obstacles. If this is set, the robot may move back and forth repeatedly in some places and cannot move normally. Therefore, the embodiments of the present application optimize the route that has the least impact on the accuracy of the preset devices of the physiotherapy robot.
[0070] Step S103 in the method provided in the embodiment of the present application includes:
[0071] Construct an optimization function to optimize the travel route as follows: ; Where TAF is the traveling fitness, Where TAF is the traveling fitness, is the precision weight, is the speed weight, K is the influence coefficient of the bumps predicted according to the route on the accuracy of the preset device, The time required to complete the travel area according to the travel route, The time required to complete the travel area by the shortest route;
[0072] Randomly generate a plurality of first travel routes in the travel area, obtain a plurality of first travel times of the plurality of first travel routes, and perform obstacle coincidence indexing in combination with the obstacle recognition result to obtain a plurality of first obstacle feature information on the plurality of first travel routes;
[0073] According to the plurality of first obstacle feature information, a bump precision influence prediction is performed to obtain a plurality of first precision influence coefficients, and in combination with the plurality of first travel times, a plurality of first travel fitnesses are calculated, wherein the bump precision influence prediction is performed by a bump precision influence analysis model, and the bump precision influence analysis model is obtained by training with sample obstacle feature information and sample precision influence coefficients;
[0074] According to the multiple first traveling fitnesses, the multiple first traveling routes are judged and merged, and the optimization is continued until convergence, and the traveling route with the largest traveling fitness is output as the optimal traveling route.
[0075] In the embodiment of the present application, an optimization function for evaluating and optimizing the travel route is first constructed, as shown in the following formula: ; Where TAF is the traveling fitness, Where TAF is the traveling fitness, is the precision weight, is the speed weight, and The sum of is 1, Greater than ,For example and are 0.7 and 0.3 respectively, and K is the influence coefficient of the bumps predicted according to the route on the accuracy of the preset device. The time required to complete the travel area according to the travel route, The time required to complete traveling in the travel area along the shortest route can be calculated based on the travel speed of the physiotherapy robot and the length of the route.
[0076] In an embodiment of the present application, multiple first travel routes are randomly generated in a travel area, wherein, based on the starting point and the end point of the travel area and the walkable area, routes from the starting point to the end point are randomly designed in the travel area to obtain multiple first travel routes, and the multiple first travel routes may have partially repeated parts.
[0077] According to the travel speed of the physiotherapy robot and the lengths of the multiple first travel routes, multiple first travel times of the multiple first travel routes can be calculated.
[0078] According to the category information, specification information and position of the multiple obstacles in the obstacle recognition result in the above content, obstacle coincidence indexing is performed based on the multiple first travel routes in the obstacle recognition result, that is, according to the area covered by the first travel route, the obstacle appearing on each first travel route is obtained as multiple first obstacle feature information on the multiple first travel routes. Each first obstacle feature information includes the specification information and category information of the obstacle appearing on each first travel route.
[0079] Based on multiple first obstacle feature information, the impact of obstacle bumps on the accuracy of preset components of the physiotherapy robot along its route is predicted. The preset components are determined according to the type of the physiotherapy robot. For example, the drive motor of the massage head and moxibustion head, etc., will affect the assembly accuracy of parts after being bumped, thereby affecting the accuracy of the preset components.
[0080] Among them, the bump accuracy impact prediction is performed through the bump accuracy impact analysis model. The bump accuracy impact analysis model is constructed by, for example, a BP neural network in the prior art. Then, based on the previous operation data of the bump robot passing through obstacles, sample obstacle feature information and sample accuracy impact coefficient are collected. The sample accuracy impact coefficient is the change amplitude information of the freewheeling current of the physiotherapy robot before and after the bump, which directly affects the accuracy of the preset device. The freewheeling current is a feedback current generated by the load after the motor stops and fed back to the motor controller. It is a parameter that directly affects the workload and accuracy of the preset device. For example, the change of the freewheeling current will cause the massage head of the massage robot to become loose or tight, so the change amplitude of the freewheeling current before and after the bump vibration is used as the sample accuracy impact coefficient to reflect the impact on the accuracy of the physiotherapy robot.
[0081] The bump precision impact analysis model is supervised and trained using sample obstacle feature information and sample precision impact coefficients until convergence, and then multiple first obstacle feature information is input for prediction to obtain multiple first precision impact coefficients, which are combined with the multiple first travel times and substituted into the optimization function to calculate multiple first travel fitnesses. The size of the multiple first travel fitnesses can reflect the quality of the multiple first travel routes.
[0082] Furthermore, the first traveling route is updated and optimized according to the multiple first traveling fitnesses.
[0083] Among them, according to multiple first traveling fitnesses, multiple first traveling routes are judged and merged, and the optimization is continued until convergence, for example, reaching the number of convergences, such as 100 times. After the optimization converges, the traveling route with the largest traveling fitness is output as the optimal traveling route, and the optimization of the traveling route is completed to minimize the impact of obstacle bumps during travel on the accuracy of the physiotherapy robot.
[0084] The step of “determining and merging the multiple first travel routes according to the multiple first travel fitnesses” in the method provided in the embodiment of the present application includes:
[0085] Randomly combining the plurality of first travel routes in pairs;
[0086] Calculate the route similarity of each group of first travel routes, and calculate the fitness similarity of the first travel fitness of each group of first travel routes, and calculate and obtain multiple similarities by combining the route similarities;
[0087] Merging the first route groups whose similarity is greater than a threshold, retaining the first route with a large first fitness, and obtaining a merged result;
[0088] According to the number of merges in the merged result, a plurality of second travel routes are randomly regenerated and the optimization is continued.
[0089] In the embodiment of the present application, multiple first travel routes are randomly selected and combined in pairs to obtain multiple pairs of first travel routes.
[0090] Further, the route similarity of each group of first travel routes is calculated, for example, the proportion of the distance between each two first travel routes that is less than a distance threshold is calculated as the similarity, the distance threshold is, for example, 50 cm, the greater the proportion, the greater the route similarity. Optionally, other methods for calculating route similarity can also be selected for calculation.
[0091] Furthermore, the fitness similarity of the first travel fitness of each group of first travel routes is calculated, for example, the smaller of the two first travel fitnesses is selected to be ratioed to the larger first travel fitness as the similarity, and the larger the ratio, the greater the similarity. Optionally, other methods for calculating numerical similarity can also be selected for calculation.
[0092] Combine the multiple route similarities and the multiple fitness similarities to calculate and obtain multiple similarities of the multiple groups of first travel routes, for example, calculate the average of the route similarity and the fitness similarity, or perform weighted calculation to obtain the similarity.
[0093] The first route groups with similarities greater than a threshold are merged, for example, the threshold is 0.8, and the first routes with large first fitness are retained during the merging, and the first routes with small fitness are deleted to obtain multiple merged routes and the merging results.
[0094] After the merger, the number of solutions is reduced and the solution needs to be expanded. Therefore, according to the number of mergers in the merger result, that is, the number of solutions is reduced, multiple second travel routes are randomly generated again, and the optimization is continued, that is, the calculation and merger of the travel fitness are continued, and iterative optimization is performed until convergence.
[0095] In this way, by analyzing and merging the similarity of the routes and retaining the solutions with high fitness among the similar solutions, the computing power consumption in the optimization can be reduced and the accuracy of the optimization can be ensured.
[0096] S104: Traveling along the optimal route, after reaching the navigation destination, detecting the freewheeling current of the therapy robot according to a preset freewheeling current detection rule, and performing therapy if it meets the requirements, and notifying if it does not meet the requirements.
[0097] In an embodiment of the present application, after optimizing and obtaining the optimal travel route of the travel area, the physiotherapy robot travels along the optimal travel route. After completing the travel along the optimal travel route, the next travel area can be obtained, and the route optimization can be continued based on the method in the aforementioned content until the navigation route is completed and the navigation destination is reached.
[0098] After arriving at the navigation destination, the freewheeling current of the physiotherapy robot is detected according to the preset freewheeling current detection rules to ensure that the working accuracy of the physiotherapy robot meets the requirements.
[0099] Step S104 in the method provided in the embodiment of the present application includes:
[0100] In the first working gear of the physiotherapy robot, detecting and obtaining a first freewheeling current, and determining whether it falls into a first freewheeling current interval of the first working gear;
[0101] If yes, the requirement is met; if no, a first maximum difference between the first freewheeling current and the first maximum current in the first freewheeling current interval is calculated to determine whether it is less than a first maximum difference threshold; if yes, the requirement is met; if no, the requirement is not met;
[0102] Continue to perform traversal detection on the freewheeling currents in other multiple working gears. When the freewheeling currents in all working gears meet the requirements, the physiotherapy robot meets the requirements.
[0103] In the embodiment of the present application, the physiotherapy robot generally has multiple working gears. When the accuracy of the physiotherapy robot is affected by bumps, the accuracy error will not be reflected in all driving current gears, and may only exist in a few of the gears. Basically, the physiotherapy robot provides physiotherapy services to users and all gears must be run once, so it is necessary to test multiple working gears.
[0104] Control the physiotherapy robot to be in the first working gear. In the first working gear of the physiotherapy robot, detect and obtain the first freewheeling current in the first working gear, and determine whether it falls into the first freewheeling current interval of the first working gear. The first freewheeling current interval is the standard freewheeling current interval in the first working gear.
[0105] If yes, the requirement is met; if no, it is necessary to further determine the deviation between the first freewheeling current and the standard freewheeling current range.
[0106] Calculate the first maximum difference between the first freewheeling current and the first maximum current in the first freewheeling current interval, the first maximum current being the maximum boundary current in the first freewheeling current interval, and determine whether it is less than the first maximum difference threshold. The first maximum difference threshold is a freewheeling current difference threshold at which the therapy robot can operate accurately, which can be obtained through testing. If so, it meets the requirements, and if not, it does not meet the requirements. When the freewheeling current is too large, it will cause inaccurate motor control, for example, the needles of the acupuncture robot become loose, affecting use.
[0107] Among them, the first minimum difference between the first freewheeling current and the first minimum current in the first freewheeling current interval is also calculated. When the first minimum difference is greater than the first minimum difference threshold, although the freewheeling current is too small, the motor load is large at this time. For example, the needle of the acupuncture robot becomes tighter, and the physical therapy robot can continue to be used for medical treatment.
[0108] Continue to perform traversal detection on the freewheeling currents in other multiple working gears, and make judgments according to the corresponding detection standards in other working gears. When the freewheeling currents in all working gears meet the requirements, the physiotherapy robot meets the requirements and can perform physiotherapy. If the freewheeling current in any working gear does not meet the requirements, it is necessary to notify, for example, make a voice notification, repair or replace the physiotherapy robot, etc., to avoid affecting the physiotherapy effect.
[0109] Step S103 in the method provided in the embodiment of the present application further includes:
[0110] Before traveling along the optimal travel route, detecting and obtaining the freewheeling current of the physiotherapy robot as the freewheeling current that is not affected;
[0111] After traveling along the optimal travel route, detecting and obtaining the freewheeling current of the physiotherapy robot, and calculating and obtaining the actual accuracy influence coefficient in combination with the unaffected freewheeling current;
[0112] The optimal obstacle feature information of the optimal route based on the obstacle recognition result is obtained, and the bump accuracy impact analysis model is updated and trained in combination with the actual accuracy impact coefficient.
[0113] In the embodiment of the present application, the bump accuracy impact analysis model determines the impact of bumps on the accuracy of the physiotherapy robot based on obstacle feature information, which is the guarantee of route optimization accuracy. In order to improve the performance of the bump accuracy impact analysis model, real data is collected during each route optimization, and the bump accuracy impact analysis model is updated and trained.
[0114] Before traveling along the above-mentioned optimal route, the freewheeling current of the physiotherapy robot in multiple working gears is detected and obtained as the unaffected freewheeling current whose accuracy is not affected by the bumps before the current travel.
[0115] Furthermore, after traveling along the optimal route, the freewheeling current of the physiotherapy robot in multiple working gears is detected and obtained, and the variation range of the freewheeling current in each gear is calculated in combination with the freewheeling current that is not affected, as the true accuracy influence coefficient in multiple gears, and the average is further calculated to obtain the actual accuracy influence coefficient. The actual accuracy influence coefficient is the true accuracy influence coefficient after the walking bumps under the obstacle characteristic information of the optimal route.
[0116] The optimal obstacle feature information of the optimal route based on the obstacle identification result is obtained, and the actual accuracy influence coefficient is used as training data to update the bump accuracy influence analysis model to ensure the accuracy and applicability of the bump accuracy influence analysis model, thereby ensuring the accuracy of route optimization.
[0117] In summary, the embodiments of the present application have at least the following technical effects:
[0118] The technical solution provided by the present application collects images of the area where the therapy robot is traveling, identifies obstacles therein, and then optimizes the route. During route optimization, the impact of the bumps on the accuracy of the therapy robot's devices is predicted, and the route with the least impact is selected and traveled. After arrival, the freewheeling current of the therapy robot is detected using a preset freewheeling current detection rule to ensure that the accuracy of the therapy robot during therapy can meet the requirements. The present application reduces the impact of accuracy and performs detection by identifying obstacles and optimizing routes, and can take into account the impact of bumps on accuracy in the navigation of the therapy robot, thereby improving the navigation effect and achieving the technical effect of ensuring the performance of the therapy robot and increasing its service life.
[0119] Embodiment 2
[0120] Based on the same inventive concept as the autonomous navigation method of a physiotherapy robot in the aforementioned embodiment, Figure 2 As shown, the present application provides an autonomous navigation device for a physiotherapy robot. The specific description of the autonomous navigation method for a physiotherapy robot in the first embodiment is also applicable to the autonomous navigation device for the physiotherapy robot, wherein the device includes:
[0121] The regional image acquisition module 11 is used to acquire the regional image of the travel area of the physiotherapy robot in response to the navigation instruction, wherein the navigation instruction includes a navigation route and a navigation destination, and the travel area is part or all of the area in the navigation route;
[0122] The obstacle recognition module 12 is used to perform obstacle recognition on the area image and obtain an obstacle recognition result, wherein the obstacle recognition includes obstacle category recognition and obstacle specification recognition;
[0123] A route optimization module 13 is used to optimize the route according to the obstacle identification result to obtain the optimal route. In the route optimization process, the influence of the obstacle bump on the accuracy of the preset components of the physiotherapy robot is predicted according to the generated route, and the route with the least influence is optimized and obtained as the optimal route.
[0124] The accuracy detection module 14 is used to travel according to the optimal route. After reaching the navigation destination, the freewheeling current of the therapy robot is detected according to the preset freewheeling current detection rules. If it meets the requirements, the therapy is performed. If it does not meet the requirements, a notification is issued.
[0125] Furthermore, the obstacle identification module 12 is also used to implement the following functions:
[0126] Collecting a set of sample area images, dividing and marking images of convex obstacles and concave obstacles in each sample area image, and obtaining a set of sample obstacle segmentation images;
[0127] Using the sample area image set and the sample obstacle segmentation image set to train an obstacle image segmentor;
[0128] Using the obstacle image segmentor, the obstacle image is identified and segmented on the regional image to obtain a convex obstacle image set and a concave obstacle image set, wherein if the regional image does not include an obstacle image, the navigation route is followed;
[0129] Performing obstacle category recognition and obstacle specification recognition on the convex obstacle image set, and performing obstacle specification recognition on the concave obstacle image set, to obtain a convex obstacle information set and a concave obstacle information set;
[0130] According to the positions of the convex obstacle image set and the concave obstacle image set in the regional image, the convex obstacle information set and the concave obstacle information set are marked in the regional image to obtain the obstacle recognition result.
[0131] The obstacle category recognition and obstacle specification recognition are performed on the convex obstacle image set, and the obstacle specification recognition is performed on the concave obstacle image set, including:
[0132] Collecting a sample raised obstacle image set, marking the category and specification of the raised obstacles in the sample raised obstacle image, and obtaining a sample raised obstacle information set;
[0133] Using the sample raised obstacle image set and the sample raised obstacle information set, constructing a raised obstacle identifier, performing obstacle category identification and obstacle specification identification on the raised obstacle image set, and obtaining a raised obstacle information set;
[0134] Collecting a sample concave obstacle image set, marking the concave obstacle specifications in the sample concave obstacle image, and obtaining a sample concave obstacle information set;
[0135] The sample concave obstacle image set and the sample concave obstacle information set are used to construct a concave obstacle identifier, and obstacle specifications are identified on the concave obstacle image set to obtain a concave obstacle information set.
[0136] Furthermore, the route selection optimization module 13 is also used to implement the following functions:
[0137] Construct an optimization function to optimize the travel route as follows: ;
[0138] Among them, TAF is the travel fitness, and precision weights, is the speed weight, K is the influence coefficient of the bumps predicted according to the route on the accuracy of the preset device, The time required to complete the travel area according to the travel route, The time for completing the travel in the travel area according to the shortest route; randomly generating a plurality of first travel routes in the travel area, obtaining a plurality of first travel times of the plurality of first travel routes, and performing obstacle coincidence indexing in combination with the obstacle recognition result, and obtaining a plurality of first obstacle feature information on the plurality of first travel routes;
[0139] According to the plurality of first obstacle feature information, a bump precision influence prediction is performed to obtain a plurality of first precision influence coefficients, and in combination with the plurality of first travel times, a plurality of first travel fitnesses are calculated, wherein the bump precision influence prediction is performed by a bump precision influence analysis model, and the bump precision influence analysis model is obtained by training with sample obstacle feature information and sample precision influence coefficients;
[0140] According to the multiple first traveling fitnesses, the multiple first traveling routes are judged and merged, and the optimization is continued until convergence, and the traveling route with the largest traveling fitness is output as the optimal traveling route.
[0141] The step of determining and merging the plurality of first travel routes according to the plurality of first travel fitnesses includes:
[0142] Randomly combining the plurality of first travel routes in pairs;
[0143] Calculate the route similarity of each group of first travel routes, and calculate the fitness similarity of the first travel fitness of each group of first travel routes, and calculate and obtain multiple similarities by combining the route similarities;
[0144] Merging the first route groups whose similarity is greater than a threshold, retaining the first route with a large first fitness, and obtaining a merged result;
[0145] According to the number of merges in the merged result, a plurality of second travel routes are randomly regenerated and the optimization is continued.
[0146] Furthermore, the accuracy detection module 14 is also used to implement the following functions:
[0147] According to a preset freewheeling current detection rule, the freewheeling current of the physiotherapy robot is detected, including:
[0148] In the first working gear of the physiotherapy robot, detecting and obtaining a first freewheeling current, and determining whether it falls into a first freewheeling current interval of the first working gear;
[0149] If yes, the requirement is met; if no, a first maximum difference between the first freewheeling current and the first maximum current in the first freewheeling current interval is calculated to determine whether it is less than a first maximum difference threshold; if yes, the requirement is met; if no, the requirement is not met;
[0150] Continue to perform traversal detection on the freewheeling currents in other multiple working gears. When the freewheeling currents in all working gears meet the requirements, the physiotherapy robot meets the requirements.
[0151] Furthermore, the accuracy detection module 14 is also used to implement the following functions:
[0152] Before traveling along the optimal travel route, detecting and obtaining the freewheeling current of the physiotherapy robot as the freewheeling current that is not affected;
[0153] After traveling along the optimal travel route, detecting and obtaining the freewheeling current of the physiotherapy robot, and calculating and obtaining the actual accuracy influence coefficient in combination with the unaffected freewheeling current;
[0154] The optimal obstacle feature information of the optimal route based on the obstacle recognition result is obtained, and the bump accuracy impact analysis model is updated and trained in combination with the actual accuracy impact coefficient.
[0155] Embodiment 3
[0156] like Figure 3 As shown, based on the same inventive concept as the autonomous navigation method of a physiotherapy robot in the aforementioned embodiment, the present application also provides a physiotherapy robot 300, wherein the physiotherapy robot 300 includes a memory 301 and a processor 302, wherein a computer program is stored in the memory 301, and wherein the computer program implements the steps of a method in an embodiment when executed by the processor 302.
[0157] The physiotherapy robot 300 includes: a processor 302, a communication interface 303, and a memory 301. Optionally, the physiotherapy robot 300 may also include a bus architecture 304. The communication interface 303, the processor 302, and the memory 301 may be interconnected via the bus architecture 304; the bus architecture 304 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus architecture 304 may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0158] The processor 302 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.
[0159] The communication interface 303 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), wired access networks, etc.
[0160] The memory 301 may be a ROM or other types of static storage devices that can store static information and instructions, a RAM or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read only memory (EEPROM), a compact disc (CD ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via the bus architecture 304. The memory may also be integrated with the processor.
[0161] The memory 301 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 302. The processor 302 is used to execute the computer-executable instructions stored in the memory 301, thereby realizing an autonomous navigation method of a physiotherapy robot provided in the above embodiment of the present application.
[0162] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. An autonomous navigation method for a physiotherapy robot, characterized in that: include: In response to a navigation instruction, collecting a regional image of a travel area of the physiotherapy robot, wherein the navigation instruction includes a navigation route and a navigation destination, and the travel area is a part or all of the area in the navigation route; Performing obstacle recognition on the area image to obtain an obstacle recognition result, wherein the obstacle recognition includes obstacle category recognition and obstacle specification recognition; According to the obstacle identification result, the travel route is optimized to obtain the optimal travel route, wherein, in the process of optimizing the travel route, the influence of the obstacle bump on the accuracy of the preset components of the physiotherapy robot is predicted according to the generated travel route, and the travel route with the least influence is optimized to obtain as the optimal travel route; Traveling along the optimal travel route, after reaching the navigation destination, detecting the freewheeling current of the physiotherapy robot according to a preset freewheeling current detection rule, performing physiotherapy if it meets the requirements, and notifying if it does not meet the requirements; According to the obstacle identification result, the route is optimized to obtain the optimal route, including: Construct an optimization function to optimize the travel route as follows: Among them, TAF is the travel fitness, w1 is the accuracy weight, w2 is the speed weight, K is the impact coefficient of the bumps predicted according to the travel route on the accuracy of the preset device, T r T is the time to complete the travel area according to the travel route, y The time required to complete the travel area by the shortest route; Randomly generate a plurality of first travel routes in the travel area, obtain a plurality of first travel times of the plurality of first travel routes, and perform obstacle coincidence indexing in combination with the obstacle recognition result to obtain a plurality of first obstacle feature information on the plurality of first travel routes; According to the plurality of first obstacle feature information, a bump precision influence prediction is performed to obtain a plurality of first precision influence coefficients, and in combination with the plurality of first travel times, a plurality of first travel fitnesses are calculated, wherein the bump precision influence prediction is performed by a bump precision influence analysis model, and the bump precision influence analysis model is obtained by training with sample obstacle feature information and sample precision influence coefficients; According to the multiple first traveling fitnesses, the multiple first traveling routes are judged and merged, and the optimization is continued until convergence, and the traveling route with the largest traveling fitness is output as the optimal traveling route.
2. The autonomous navigation method of the physiotherapy robot according to claim 1, characterized in that: Performing obstacle recognition on the area image to obtain an obstacle recognition result includes: Collecting a set of sample area images, dividing and marking images of convex obstacles and concave obstacles in each sample area image, and obtaining a set of sample obstacle segmentation images; Using the sample area image set and the sample obstacle segmentation image set to train an obstacle image segmentor; Using the obstacle image segmentor, the obstacle image is identified and segmented on the regional image to obtain a convex obstacle image set and a concave obstacle image set, wherein if the regional image does not include an obstacle image, the navigation route is followed; Performing obstacle category recognition and obstacle specification recognition on the convex obstacle image set, and performing obstacle specification recognition on the concave obstacle image set, to obtain a convex obstacle information set and a concave obstacle information set; According to the positions of the convex obstacle image set and the concave obstacle image set in the regional image, the convex obstacle information set and the concave obstacle information set are marked in the regional image to obtain the obstacle recognition result.
3. The autonomous navigation method of the physiotherapy robot according to claim 2, characterized in that: The obstacle category recognition and obstacle specification recognition are performed on the convex obstacle image set, and the obstacle specification recognition is performed on the concave obstacle image set, including: Collecting a sample raised obstacle image set, marking the category and specification of the raised obstacles in the sample raised obstacle image, and obtaining a sample raised obstacle information set; Using the sample raised obstacle image set and the sample raised obstacle information set, constructing a raised obstacle identifier, performing obstacle category identification and obstacle specification identification on the raised obstacle image set, and obtaining a raised obstacle information set; Collecting a sample concave obstacle image set, marking the concave obstacle specifications in the sample concave obstacle image, and obtaining a sample concave obstacle information set; The sample concave obstacle image set and the sample concave obstacle information set are used to construct a concave obstacle identifier, and obstacle specifications are identified on the concave obstacle image set to obtain a concave obstacle information set.
4. The autonomous navigation method of the physiotherapy robot according to claim 1, characterized in that: According to the plurality of first traveling fitnesses, the plurality of first traveling routes are judged and merged, including: Randomly combining the plurality of first travel routes in pairs; Calculate the route similarity of each group of first travel routes, and calculate the fitness similarity of the first travel fitness of each group of first travel routes, and calculate and obtain multiple similarities by combining the route similarities; Merging the first route groups whose similarity is greater than a threshold, retaining the first route with a large first fitness, and obtaining a merged result; According to the number of merges in the merged result, a plurality of second travel routes are randomly regenerated and the optimization is continued.
5. The autonomous navigation method of the physiotherapy robot according to claim 1, characterized in that: According to a preset freewheeling current detection rule, the freewheeling current of the physiotherapy robot is detected, including: In the first working gear of the physiotherapy robot, detecting and obtaining a first freewheeling current, and determining whether it falls into a first freewheeling current interval of the first working gear; If yes, the requirement is met; if no, a first maximum difference between the first freewheeling current and the first maximum current in the first freewheeling current interval is calculated to determine whether it is less than a first maximum difference threshold; if yes, the requirement is met; if no, the requirement is not met; Continue to perform traversal detection on the freewheeling currents in other multiple working gears. When the freewheeling currents in all working gears meet the requirements, the physiotherapy robot meets the requirements.
6. The autonomous navigation method of the physiotherapy robot according to claim 1, characterized in that: The method further comprises: Before traveling along the optimal travel route, detecting and obtaining the freewheeling current of the physiotherapy robot as the freewheeling current that is not affected; After traveling along the optimal travel route, detecting and obtaining the freewheeling current of the physiotherapy robot, and calculating and obtaining the actual accuracy influence coefficient in combination with the unaffected freewheeling current; The optimal obstacle feature information of the optimal route based on the obstacle recognition result is obtained, and the bump accuracy impact analysis model is updated and trained in combination with the actual accuracy impact coefficient.
7. An autonomous navigation device for a physiotherapy robot, characterized in that: The device comprises: A regional image acquisition module, used for acquiring a regional image of a travel area of the physiotherapy robot in response to a navigation instruction, wherein the navigation instruction includes a navigation route and a navigation destination, and the travel area is a part or all of the area in the navigation route; An obstacle recognition module is used to perform obstacle recognition on the area image and obtain an obstacle recognition result, wherein the obstacle recognition includes obstacle category recognition and obstacle specification recognition; A route optimization module, used to optimize the route according to the obstacle identification result to obtain the optimal route, wherein, during the route optimization process, the influence of obstacle bumps on the accuracy of preset components of the physiotherapy robot is predicted according to the generated route, and the route with the least influence is optimized to be obtained as the optimal route; an accuracy detection module, configured to travel along the optimal travel route, and after reaching the navigation destination, detect the freewheeling current of the physiotherapy robot according to a preset freewheeling current detection rule, and perform physiotherapy if the requirement is met, and notify if the requirement is not met; According to the obstacle identification result, the route is optimized to obtain the optimal route, including: Construct an optimization function to optimize the travel route as follows: Among them, TAF is the travel fitness, w1 is the accuracy weight, w2 is the speed weight, K is the impact coefficient of the bumps predicted according to the travel route on the accuracy of the preset device, T r T is the time to complete the travel area according to the travel route, y The time required to complete the travel area by the shortest route; Randomly generate a plurality of first travel routes in the travel area, obtain a plurality of first travel times of the plurality of first travel routes, and perform obstacle coincidence indexing in combination with the obstacle recognition result to obtain a plurality of first obstacle feature information on the plurality of first travel routes; According to the plurality of first obstacle feature information, a bump precision influence prediction is performed to obtain a plurality of first precision influence coefficients, and in combination with the plurality of first travel times, a plurality of first travel fitnesses are calculated, wherein the bump precision influence prediction is performed by a bump precision influence analysis model, and the bump precision influence analysis model is obtained by training with sample obstacle feature information and sample precision influence coefficients; According to the multiple first traveling fitnesses, the multiple first traveling routes are judged and merged, and the optimization is continued until convergence, and the traveling route with the largest traveling fitness is output as the optimal traveling route.
8. A physical therapy robot, characterized in that: The physiotherapy robot includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the autonomous navigation method of the physiotherapy robot according to any one of claims 1 to 6 are implemented.
