Ultrasonic robot scanning control method and apparatus, device, and storage medium

Through adaptive impedance algorithm and damping adjustment, it solves the problem of inability to adapt damping and stiffness in existing ultrasonic robot scanning technology, improves the flexibility and safety of robot scanning, and achieves effective follow-up and stable imaging of the human body's undulating movements. .

WO2024183371A1PCT designated stage expired Publication Date: 2024-09-12SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI

Patent Information

Application Number
PCT/CN2023/136585
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2023-12-05
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In the existing ultrasonic robot scanning technology, the damping and stiffness cannot be adjusted adaptively, resulting in low flexibility and intelligence during human-computer interaction, and the inability to effectively follow the ups and downs of the human body, which increases safety risks.

Method used

Using an adaptive impedance algorithm, by controlling the robotic arm to contact the human body in low damping mode and switching to high-precision mode when the target contact force is reached, the interactive force and spatial position of the robotic arm end are obtained in real time, and the target joint torque is calculated based on the target contact force. The robotic arm is controlled to perform ultrasonic scanning based on the preset damping value and joint torque, and the damping value is dynamically adjusted to adapt to human breathing and movement.

Benefits of technology

It improves the flexibility and operational safety of the robotic arm, ensures the stability and effect of ultrasound imaging, reduces damping in the event of accidental touch, and reduces safety hazards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023136585_12092024_PF_FP_ABST
    Figure CN2023136585_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are an ultrasonic robot scanning control method and apparatus, a device, and a storage medium. The method comprises: in a low damping mode, controlling a mechanical arm to move toward a region to be scanned of a human body so as to come into contact with the human body, and when the contact force reaches a target contact force, entering a high precision mode; and in the high precision mode, acquiring an interaction force and a spatial position of the tail end of the mechanical arm in real time, obtaining a target joint torque by calculation and on the basis of the target contact force, and then, according to a first preset damping value and the target joint torque, controlling the mechanical arm to perform ultrasonic scanning, the damping value in the low damping mode being lower than the first preset damping value. According to the present invention, before the ultrasonic robot is controlled to perform scanning, the mechanical arm is adaptively adjusted to the low damping mode, and the mechanical arm has a reduced damping value, thereby realizing good flexibility, and facilitating an operator to move the mechanical arm; and during scanning, the mechanical arm is adaptively adjusted to the high precision mode, and the mechanical arm has an increased damping value, thereby maintaining stable ultrasonic imaging.
Need to check novelty before this filing date? Find Prior Art

Description

Ultrasonic robot scanning control method, device, equipment and storage medium Technical Field

[0001] The present application relates to the technical field of ultrasonic robots, and in particular to an ultrasonic robot scanning control method, device, equipment and storage medium. Background Art

[0002] Currently, robots are widely used in industrial production, medical care, family education, logistics, entertainment and other scenarios. Human-machine collaboration has become one of the key research directions in the development of robots. Medical ultrasound, as a radiation-free and low-cost medical imaging diagnostic technology, is widely used in robot-assisted surgery. The stability and safety of human-machine interaction during surgery are crucial. This invention proposes an adaptive impedance algorithm that can adaptively adjust the damping in real time according to the environment, achieve constant contact force scanning behavior, follow the body's breathing and other fluctuations in real time, and reduce the damping in the event of accidental touch, protecting the operator and patient and reducing safety hazards.

[0003] During robotic ultrasound scanning, physical contact between the ultrasound probe and the human body occurs, necessitating interactive control of the robot. Robotic interactive control can be categorized into direct force control and indirect force control. Indirect force control includes compliance control and impedance control, with compliance methods including passive and active compliance. Impedance control can be further categorized into impedance control and admittance control.

[0004] Impedance control is a method of achieving indirect force control by controlling the movement of the robot. Its ultimate goal is neither to directly control the movement of the robot nor to directly control the contact force between the robot and the outside world, but to control the dynamic relationship between the two.

[0005] Currently, most common damping and admittance control schemes have fixed parameters and cannot adaptively adjust parameters according to the environment to change stiffness and damping. Therefore, during the human-computer interaction process, the flexibility and intelligence are low.

[0006] Summary of the Invention

[0007] In view of this, the present application provides an ultrasonic robot scanning control method, device, equipment and storage medium to solve the problem that the existing ultrasonic robot cannot adaptively change the stiffness and damping during scanning.

[0008] In order to solve the above technical problems, a technical solution adopted in this application is: to provide an ultrasonic robot scanning control method, which includes: in low damping mode, controlling the robotic arm to move toward the area to be scanned of the human body to contact the human body, and when the contact force reaches the target contact force, entering high-precision mode; in high-precision mode, obtaining the interaction force and spatial position of the end of the robotic arm in real time, and calculating the target joint torque in combination with the target contact force, and then controlling the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque. The damping value in the low damping mode is lower than the first preset damping value.

[0009] As a further improvement of the present application, the interaction force and spatial position of the end of the robotic arm are obtained in real time, and the target joint torque is calculated in combination with the target contact force, and then the robotic arm is controlled to perform ultrasonic scanning according to the first preset damping value and the target joint torque, including: obtaining the interaction force, speed and spatial position of the end of the robotic arm in real time, and calculating the target joint torque in combination with the target contact force, and then controlling the robotic arm to perform ultrasonic scanning under a specified trajectory according to the first preset damping value and the target joint torque.

[0010] As a further improvement of this application, the calculation formula of the target joint torque is expressed as: x e =x d -x a ; F froce =K P S F (F a -F d )+K I ∫S F (F a -F d )dt;

[0011] Where τ represents the target joint torque, F ext is the description of the environmental stress of the six-dimensional force sensor in the tool coordinate system in the base coordinate system or the workpiece coordinate system, x e is the actual pose x a and the desired pose x d The difference, is x e The second derivative of is x e The first-order derivative of K is the stiffness coefficient diagonal matrix, B is the damping coefficient diagonal matrix, F froce Indicates the component that needs to control the direction, F a is the actual contact force, F d is the target contact force, K P and K Iare the error term parameter and integral term parameter of the PI controller, S F represents the diagonal matrix, M(q) represents the robot inertia matrix, represents the Coriolis force and centrifugal force, g(q) represents the gravitational moment, J T (q) represents the transpose of the robot Jacobian matrix, represents the joint space acceleration, represents the joint space velocity, q represents the joint space coordinate vector, represents the expected velocity in Cartesian space, represents the expected acceleration in Cartesian space, J(q) represents the robot Jacobian matrix, Represents the inverse of the robot's Jacobian matrix.

[0012] As a further improvement of the present application, after controlling the robotic arm to perform ultrasonic scanning under a specified trajectory according to the first preset damping value and the target joint torque, it also includes: judging whether the speed of the end of the robotic arm exceeds the preset speed critical value; when the speed exceeds the preset speed critical value, triggering the low damping mode, controlling the damping value of the robotic arm to decrease; when the speed does not exceed the preset speed critical value, maintaining the high-precision mode.

[0013] As a further improvement of the present application, in low damping mode, the damping value of the robotic arm is calculated based on the initial impedance coefficient, the speed of the end of the robotic arm and the amplitude of the decrease in the impedance coefficient, and the damping value of the robotic arm is between a first preset damping value and a second preset damping value, and the first preset damping value is greater than the second preset damping value; in high precision mode, the damping value of the robotic arm is the first preset damping value.

[0014] As a further improvement of the present application, the calculation formula of the damping value of the robotic arm is expressed as:

[0015] in, Indicates the damping value of the robotic arm, represents the velocity in Cartesian space, represents the speed of the end of the robot arm, a represents the initial impedance coefficient, b represents the decrease amplitude of the impedance coefficient, c represents the second preset damping value, B max Indicates the first preset damping value, where a+c>B max >c> 0, and Indicates the preset speed threshold.

[0016] As a further improvement of the present application, after controlling the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque, it also includes: when the robotic arm completes the ultrasonic scanning task, controlling the robotic arm to move away from the human body to the target position, and maintaining the robotic arm in a high-precision mode.

[0017] In order to solve the above technical problems, another technical solution adopted in this application is: to provide an ultrasonic robot scanning control device, which includes: a preparation module, which is used to control the robotic arm to move to the area to be scanned of the human body to contact the human body in a low-damping mode, and when the contact force reaches the target contact force, enter a high-precision mode; a scanning module, which is used to obtain the interaction force and spatial position of the end of the robotic arm in real time in a high-precision mode, and calculate the target joint torque in combination with the target contact force, and then control the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque. The damping value in the low-damping mode is lower than the first preset damping value.

[0018] To solve the above technical problems, another technical solution adopted in this application is: providing a computer device, which includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory, and when the program instructions are executed by the processor, the processor executes the steps of any of the above-mentioned ultrasonic robot scanning control methods.

[0019] In order to solve the above technical problems, another technical solution adopted in the present application is: providing a storage medium storing program instructions capable of implementing any of the above ultrasonic robot scanning control methods.

[0020] The beneficial effect of the present application is: the ultrasonic robot scanning control method of the present application switches the ultrasonic robot's robotic arm to a low-damping mode before controlling the ultrasonic robot to scan, so as to reduce the damping value of the robotic arm, making the robotic arm more flexible. The operator can drag the robotic arm with low damping, which is convenient for the operator to place the robotic arm directly above the area to be scanned on the human body, and then control the robotic arm to move toward the area to be scanned on the human body to contact the human body, and when the contact force reaches the target contact force, it enters a high-precision mode, and in the high-precision mode, the damping value of the robotic arm increases to maintain stable ultrasonic imaging, and the robotic arm end is controlled in real time to perform the scanning task according to the interaction force and spatial position of the robotic arm end, ensuring sufficient contact between the robotic arm end and the human body, and maintaining the contact force between the robotic arm end and the human body within the specified interaction force range, and can adaptively follow the ups and downs of the human body surface according to the human body's breathing amplitude to ensure good ultrasonic imaging effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG1 is a schematic flow chart of a scanning control method of an ultrasonic robot according to an embodiment of the present invention;

[0022] FIG2 is a graph showing an adaptive impedance damping change curve of an ultrasonic robot scanning control method according to an embodiment of the present invention;

[0023] 3 is a schematic diagram of the functional modules of the ultrasonic robot scanning control device according to an embodiment of the present invention;

[0024] FIG4 is a schematic structural diagram of a computer device according to an embodiment of the present invention;

[0025] FIG5 is a schematic structural diagram of a storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0027] The terms "first," "second," and "third" in this application are used only for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of such features. In the description of this application, "multiple" means at least two, for example, two, three, etc., unless otherwise specifically defined. All directional indications in the embodiments of this application (such as up, down, left, right, front, back...) are only used to explain the relative positional relationship, movement, etc. between the components under a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indications also change accordingly. In addition, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products, or devices.

[0028] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0029] FIG1 is a flow chart of an ultrasonic robot scanning control method according to an embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in FIG1 if substantially the same results are achieved. As shown in FIG1 , the ultrasonic robot scanning control method includes the following steps:

[0030] Step S101: in the low damping mode, the robot arm is controlled to move toward the area to be scanned of the human body to contact the human body, and when the contact force reaches the target contact force, the high precision mode is entered.

[0031] It should be noted that the ultrasonic robot in this embodiment includes two working states: low damping mode and high precision mode. In the low damping mode, the damping value of the ultrasonic robot's robotic arm is low and the flexibility of the robotic arm is high. The operator can drag the robotic arm with low damping and place the robotic arm directly above the area to be scanned on the human body. In this case, the operator completes the task with lower damping and faster execution speed. In the high precision mode, the damping value of the ultrasonic robot's robotic arm is high and the robotic arm has good stability, so that stable ultrasonic imaging can be maintained during ultrasonic scanning and imaging.

[0032] Specifically, when a scanning task needs to be performed, the robotic arm is switched to low-damping mode, which makes it convenient for the operator to place the robotic arm directly above the area to be scanned on the human body, and then control the robotic arm to move toward the area to be scanned on the human body until it touches the human body. The contact between the end of the robotic arm and the human body generates extrusion, and by obtaining the contact force between the end of the robotic arm and the human body, when the contact force reaches the target contact force, the robotic arm is controlled to switch to high-precision mode.

[0033] Step S102: In high-precision mode, the interaction force and spatial position of the end of the robotic arm are obtained in real time, and the target joint torque is calculated in combination with the target contact force. The robotic arm is then controlled to perform ultrasonic scanning according to the first preset damping value and the target joint torque. The damping value in low-damping mode is lower than the first preset damping value.

[0034] Specifically, in order to assist the ultrasonic scanning process, ensure sufficient contact between the robotic arm and the human body, and maintain the contact force between the end of the robotic arm and the human body within a specified interaction force range, this embodiment obtains the interaction force generated between the end of the robotic arm and the human body and the spatial position of the end of the robotic arm in real time in high-precision mode, and then calculates the target joint torque in combination with the pre-set target contact force. The robotic arm is then controlled to perform ultrasonic scanning based on the first preset damping value and the target joint torque. By adjusting the joint torque in real time, the purpose of real-time control of the contact force between the end of the robotic arm and the human body is achieved.

[0035] The first preset damping value is relatively high. When the damping value of the robotic arm reaches the first preset damping value, the robotic arm has low compliance and is difficult to move, thereby maintaining stable ultrasonic imaging. The damping value in the low damping mode needs to ensure good compliance of the robotic arm. Therefore, the damping value in the low damping mode is lower than the first preset damping value.

[0036] Furthermore, in some embodiments, a trajectory can be specified for the robotic arm, and the robotic arm can be controlled to move along the specified trajectory to scan a larger target area. Therefore, the steps of acquiring the interaction force and spatial position of the robotic arm end in real time, calculating the target joint torque based on the target contact force, and then controlling the robotic arm to perform ultrasonic scanning based on the first preset damping value and the target joint torque include:

[0037] The interaction force, velocity and spatial position of the end of the robotic arm are obtained in real time, and the target joint torque is calculated in combination with the target contact force. Then, the robotic arm is controlled to perform ultrasonic scanning under the specified trajectory according to the first preset damping value and the target joint torque.

[0038] Specifically, the interaction force, velocity and spatial position of the end of the robotic arm are obtained in real time, and then the target joint torque is calculated in combination with the target contact force. Finally, the robotic arm is controlled to perform ultrasonic scanning under the specified trajectory according to the first preset damping value and the target joint torque.

[0039] Furthermore, the calculation formula of the target joint torque is expressed as: x e =x d -x a ; F froce =K P S F (F a -F d )+K I ∫S F (F a -F d )dt;

[0040] Where τ represents the target joint torque, F ext is the description of the environmental stress of the six-dimensional force sensor in the tool coordinate system in the base coordinate system or the workpiece coordinate system, x e is the actual pose x a and the desired pose x d The difference, is x e The first-order derivative of , K is the stiffness coefficient diagonal matrix, B is the damping coefficient diagonal matrix, K and B are positive definite matrices, F froce Indicates the component that needs to control the direction, F a is the actual contact force, F d is the target contact force, K P and K I are the error term parameter and integral term parameter of the PI controller, S F represents the diagonal matrix, M(q) represents the robot inertia matrix, represents the Coriolis force and centrifugal force, g(q) represents the gravitational moment, J T (q) represents the transpose of the robot Jacobian matrix, represents the joint space acceleration, represents the joint space velocity, q represents the joint space coordinate vector, represents the expected velocity in Cartesian space, represents the expected acceleration in Cartesian space, J(q) represents the robot Jacobian matrix, Represents the inverse of the robot's Jacobian matrix.

[0041] Specifically, the calculation formula of this embodiment is constructed based on the original impedance model, PI control algorithm and robot dynamics model. The original impedance model is:

[0042] in, is x e The second-order derivative of , M is the diagonal matrix of inertia coefficients, and M is a positive definite matrix.

[0043] In order to make the robot arm show sufficient flexibility during the scanning task, this embodiment defines the expected force F ext for:

[0044] Among them, F force represents the component of the force control direction to ensure the contact between the ultrasound probe and the human body and maintain the contact force at the set target contact force level. In order to achieve this function, this embodiment adopts the PI control algorithm, and the specific calculation formula is as follows: F froce =K P S F (F a -F d )+K I ∫S F (F a -F d )dt;

[0045] Among them, F a is the actual contact force, F d is the target contact force, K P and K I They are the error term parameter and integral term parameter of the PI controller respectively. Since there is no need for force control in the horizontal direction, an S F For a diagonal matrix, the values ​​of the diagonal elements related to the Z axis are set to 1, and the parameters related to the horizontal direction are set to 0.

[0046] The robot dynamics model is:

[0047] Substituting the above data into the robot dynamics model, the expression of the joint torque τ can be obtained:

[0048] Under a specified trajectory, the velocity and acceleration of the end of the robotic arm are expressed as:

[0049] The deformation can be obtained:

[0050] Therefore, when the end of the robot arm scans a fixed area without moving, and The value is 0.

[0051] Through the above method, this embodiment can control the contact between the robotic arm and the human body in the vertical direction, and has a certain compensatory effect on the human body's respiratory movement during ultrasonic scanning. It can adapt to the fluctuation of the human body surface according to the human body's breathing amplitude and maintain a constant contact force.

[0052] Furthermore, in order to improve safety when using the device and prevent the robotic arm from accidentally injuring a human body when performing a scanning task, in some embodiments, after the step of controlling the robotic arm to perform ultrasonic scanning along a specified trajectory according to the first preset damping value and the target joint torque, the method further includes:

[0053] 1. Determine whether the speed of the end of the robotic arm exceeds the preset speed threshold.

[0054] Specifically, the speed of the end of the robotic arm is acquired in real time, and the preset speed critical value is set in advance.

[0055] 2. When the speed exceeds the preset speed threshold, the low damping mode is triggered and the damping value of the control arm is reduced.

[0056] Specifically, when the speed of the end of the robotic arm exceeds the preset speed critical value, the robotic arm may be touched at this time. For example, when the patient is abnormally squeezed by the robotic arm, the operator or the patient pushes the robotic arm away with force. At this time, the speed value of the robotic arm will exceed the preset speed critical value. In order to facilitate the movement of the robotic arm, it is necessary to improve the flexibility of the robotic arm. Therefore, it is necessary to reduce the damping value of the robotic arm so that the operator or the patient can move the robotic arm more smoothly to avoid injuring the patient.

[0057] 3. When the speed does not exceed the preset speed threshold, maintain high precision mode.

[0058] Furthermore, in low damping mode, the damping value of the robotic arm is calculated based on the initial impedance coefficient, the speed of the end of the robotic arm and the amplitude of the decrease in the impedance coefficient, and the damping value of the robotic arm is between a first preset damping value and a second preset damping value, and the first preset damping value is greater than the second preset damping value; in high precision mode, the damping value of the robotic arm is the first preset damping value.

[0059] Specifically, the calculation formula of the damping value of the robotic arm is expressed as:

[0060] in, Indicates the damping value of the robotic arm, represents the joint space velocity, represents the speed of the end of the robot arm, a represents the initial impedance coefficient, b represents the decrease amplitude of the impedance coefficient, c represents the second preset damping value, B max Indicates the first preset damping value, where a+c>B max >c>0, and Indicates the preset speed threshold.

[0061] Specifically, in order to achieve variable damping in the horizontal direction to meet more usage scenarios, this embodiment changes the damping according to the absolute value of the Cartesian velocity of the end of the robot arm, so as to improve performance in terms of both action execution time and accuracy. When the speed is high, the damping force needs to be reduced so that the operator can drag the end of the robot arm with minimal force and can significantly reduce execution time. When scanning at low speeds, increasing the damping can improve the accuracy of ultrasonic imaging. In addition, in order to keep the changing parameters in a stable area, this embodiment designs the following function to implement the adaptive scanning function:

[0062] Substituting the above formula into the τ value calculation formula, the joint torque of the robotic arm can be solved. Among them, a represents the initial impedance coefficient, b represents the decrease amplitude of the impedance coefficient. The larger the b value, the faster the decrease speed, and the smaller the b value, the slower the decrease speed. C represents the minimum value to which the impedance coefficient is reduced (to prevent the impedance coefficient from being too low and jittering). max Represents the maximum value of the impedance coefficient. From the above formula, we can see that the damping It is equivalent to a negative exponential function related to the speed of the end of the robot arm. Please refer to Figure 2. When the speed is High precision mode is turned on when the damping is maintained at B max , in this mode, you can perform ultrasound scanning: When the impedance is reduced, the low damping mode is entered and the damping is reduced to c<B<B maxIn this mode, the damping is small, and dragging teaching tasks can be performed to drag the robotic arm to the target position, or touching the robotic arm during the scanning process will also trigger this mode to prevent safety hazards.

[0063] Furthermore, after controlling the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque, the method further includes:

[0064] After the robotic arm completes the ultrasonic scanning task, it controls the robotic arm to move away from the human body to the target position and maintains the robotic arm in high-precision mode.

[0065] Specifically, when the robotic arm is in high-precision mode, the damping value of the robotic arm is high and its compliance decreases, so that the robotic arm can maintain a constant position without deviation.

[0066] The ultrasonic robot scanning control method of this embodiment switches the ultrasonic robot's robotic arm to a low-damping mode before controlling the ultrasonic robot to scan, so as to reduce the damping value of the robotic arm, thereby making the robotic arm more flexible. The operator can drag the robotic arm with low damping, which makes it convenient for the operator to place the robotic arm directly above the area to be scanned on the human body, and then control the robotic arm to move toward the area to be scanned on the human body to contact the human body. When the contact force reaches the target contact force, the high-precision mode is entered. In the high-precision mode, the damping value of the robotic arm increases to maintain stable ultrasonic imaging. In addition, the robotic arm end is controlled in real time to perform the scanning task according to the interaction force and spatial position of the robotic arm end, ensuring sufficient contact between the robotic arm end and the human body, and maintaining the contact force between the robotic arm end and the human body within the specified interaction force range. The robotic arm can also adaptively follow the undulating movement of the human body surface according to the human body's breathing amplitude to ensure good ultrasonic imaging effect.

[0067] FIG3 is a schematic diagram of the functional modules of an ultrasonic robot scanning control device according to an embodiment of the present invention. As shown in FIG3 , the ultrasonic robot scanning control device 20 includes a preparation module 21 and a scanning module 22 .

[0068] a preparation module 21 for controlling the robotic arm to move toward the area to be scanned of the human body to contact the human body in a low damping mode, and entering a high precision mode when the contact force reaches a target contact force;

[0069] The scanning module 22 is used to obtain the interactive force and spatial position of the end of the robotic arm in real time in high-precision mode, and calculate the target joint torque in combination with the target contact force, and then control the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque. The damping value in the low-damping mode is lower than the first preset damping value.

[0070] Optionally, the scanning module 22 performs real-time acquisition of the interaction force and spatial position of the end of the robotic arm, and calculates the target joint torque in combination with the target contact force, and then controls the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque. The operation specifically includes: real-time acquisition of the interaction force, speed and spatial position of the end of the robotic arm, and calculates the target joint torque in combination with the target contact force, and then controls the robotic arm to perform ultrasonic scanning under a specified trajectory according to the first preset damping value and the target joint torque.

[0071] Optionally, the target joint torque is calculated as: x e =x d -x a ; F froce =K P S F (F a -F d )+K I ∫S P (F a -F d )dt;

[0072] Where τ represents the target joint torque, F ext is the description of the environmental stress of the six-dimensional force sensor in the tool coordinate system in the base coordinate system or the workpiece coordinate system, x e is the actual pose x a and the desired pose x d The difference, is x e The second derivative of is x e The first-order derivative of K is the stiffness coefficient diagonal matrix, B is the damping coefficient diagonal matrix, F froce Indicates the component that needs to control the direction, F a is the actual contact force, F d is the target contact force, K P and K I are the error term parameter and integral term parameter of the PI controller, S F represents the diagonal matrix, M(q) represents the robot inertia matrix, represents the Coriolis force and centrifugal force, g(q) represents the gravitational moment, J T (q) represents the transpose of the robot Jacobian matrix, represents the joint space acceleration, represents the joint space velocity, q represents the joint space coordinate vector, represents the expected velocity in Cartesian space, represents the expected acceleration in Cartesian space, J(q) represents the robot Jacobian matrix, Represents the inverse of the robot's Jacobian matrix.

[0073] Optionally, after the scanning module 22 executes the operation of controlling the robotic arm to perform ultrasonic scanning under a specified trajectory according to the first preset damping value and the target joint torque, it is also used to: determine whether the speed of the end of the robotic arm exceeds a preset speed critical value; when the speed exceeds the preset speed critical value, trigger the low damping mode and control the damping value of the robotic arm to decrease; when the speed does not exceed the preset speed critical value, maintain the high-precision mode.

[0074] Optionally, in low damping mode, the damping value of the robotic arm is calculated based on the initial impedance coefficient, the speed of the end of the robotic arm and the amplitude of the decrease in the impedance coefficient, and the damping value of the robotic arm is between a first preset damping value and a second preset damping value, and the first preset damping value is greater than the second preset damping value; in high precision mode, the damping value of the robotic arm is the first preset damping value.

[0075] Optionally, the calculation formula of the damping value of the robotic arm is expressed as:

[0076] in, Indicates the damping value of the robotic arm, represents the joint space velocity, represents the speed of the end of the robot arm, a represents the initial impedance coefficient, b represents the decrease amplitude of the impedance coefficient, c represents the second preset damping value, B max Indicates the first preset damping value, where a+c>B max >c>0, and Indicates the preset speed threshold.

[0077] Optionally, after the scanning module 22 executes the operation of controlling the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque, it is also used to: when the robotic arm completes the ultrasonic scanning task, control the robotic arm to move away from the human body to the target position, and maintain the robotic arm in a high-precision mode.

[0078] For other details of the technical solutions for implementing each module in the ultrasonic robot scanning control device in the above embodiment, please refer to the description of the ultrasonic robot scanning control method in the above embodiment, which will not be repeated here.

[0079] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similarities between the various embodiments can be referred to in conjunction with each other. For device embodiments, since they are generally similar to method embodiments, their description is relatively simple, and for relevant details, reference can be made to the description of the method embodiments.

[0080] Please refer to Figure 4, which is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. As shown in Figure 4, the computer device 30 includes a processor 31 and a memory 32 coupled to the processor 31. The memory 32 stores program instructions. When the program instructions are executed by the processor 31, the processor 31 performs the steps of the ultrasonic robot scanning control method described in any of the above embodiments.

[0081] The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip having signal processing capabilities. The processor 31 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or any conventional processor.

[0082] Refer to Figure 5, which is a schematic diagram of the structure of the storage medium of an embodiment of the present invention. The storage medium of the embodiment of the present invention stores program instructions 41 that can implement the above-mentioned ultrasonic robot scanning control method, wherein the program instructions 41 can be stored in the above-mentioned storage medium in the form of a software product, including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute 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 a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or a computer device such as a computer, server, mobile phone, or tablet.

[0083] In the several embodiments provided in this application, it should be understood that the disclosed computer devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units 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 an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0084] In addition, the functional units in the various embodiments of the present invention 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. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. An ultrasonic robot scanning control method, It is characterized in that It includes: In the low damping mode, the robot arm is controlled to move toward the area to be scanned of the human body to contact the human body, and when the contact force reaches the target contact force, the high precision mode is entered; In the high-precision mode, the interaction force and spatial position of the end of the robotic arm are acquired in real time, and the target joint torque is calculated in combination with the target contact force. The robotic arm is then controlled to perform ultrasonic scanning based on a first preset damping value and the target joint torque. The damping value in the low-damping mode is lower than the first preset damping value.

2. The ultrasonic robot scanning control method according to claim 1, It is characterized in that The real-time acquisition of the interaction force and spatial position of the end of the robotic arm, and the calculation of the target joint torque in combination with the target contact force, and then the control of the robotic arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque, include: The interactive force, speed and spatial position of the end of the robotic arm are acquired in real time, and the target joint torque is calculated in combination with the target contact force. Then, the robotic arm is controlled to perform ultrasonic scanning under a specified trajectory according to the first preset damping value and the target joint torque.

3. The ultrasonic robot scanning control method according to claim 2, It is characterized in that The calculation formula of the target joint torque is expressed as: x e =x d -x a ; F froce =K P S F (F a -F d )+K I ∫S F (F a -F d )dt; Wherein, τ represents the target joint torque, F ext is the description of the environmental stress of the six-dimensional force sensor in the tool coordinate system in the base coordinate system or the workpiece coordinate system, x e is the actual pose x a and the desired pose x d The difference, is x e The second-order derivative of is x e The first-order derivative of , K is the diagonal matrix of stiffness coefficients, B is the diagonal matrix of damping coefficients, F froce Indicates the component that needs to be controlled in direction, F a is the actual contact force, F d is the target contact force, K P and K I are the error term parameter and integral term parameter of the PI controller, S F represents a diagonal matrix, M(q) represents the robot inertia matrix, represents the Coriolis force and centrifugal force, g(q) represents the gravitational moment, J T (q) represents the transpose of the robot Jacobian matrix, represents the joint space acceleration, represents the joint space velocity, q represents the joint space coordinate vector, represents the expected velocity in Cartesian space, represents the expected acceleration in Cartesian space, J(q) represents the robot Jacobian matrix, Represents the inverse of the robot Jacobian matrix.

4. The ultrasonic robot scanning control method according to claim 2, It is characterized in that After controlling the mechanical arm to perform ultrasonic scanning on a specified trajectory according to the first preset damping value and the target joint torque, the method further includes: Determining whether the speed of the end of the robotic arm exceeds a preset speed critical value; When the speed exceeds a preset speed critical value, the low damping mode is triggered to control the damping value of the robotic arm to decrease; When the speed does not exceed the preset speed threshold, the high precision mode is maintained.

5. The ultrasonic robot scanning control method according to claim 1, It is characterized in that In the low damping mode, the damping value of the mechanical arm is calculated according to the initial impedance coefficient, the speed of the end of the mechanical arm and the decrease amplitude of the impedance coefficient, and the damping value of the mechanical arm is between the first preset damping value and the second preset damping value, and the first preset damping value is greater than the second preset damping value; In the high-precision mode, the damping value of the robotic arm is the first preset damping value.

6. The ultrasonic robot scanning control method according to claim 5, It is characterized in that The calculation formula of the damping value of the mechanical arm is expressed as: in, represents the damping value of the manipulator, Velocity in Cartesian space, represents the speed of the end of the robot arm, a represents the initial impedance coefficient, b represents the decrease amplitude of the impedance coefficient, c represents the second preset damping value, B max represents the first preset damping value, where a+c>B max >c>0, and Indicates the preset speed threshold.

7. The ultrasonic robot scanning control method according to claim 1, It is characterized in that After controlling the mechanical arm to perform ultrasonic scanning according to the first preset damping value and the target joint torque, the method further includes: After the robotic arm completes the ultrasonic scanning task, the robotic arm is controlled to move to a target position in a direction away from the human body, and the robotic arm is maintained in a high-precision mode.

8. An ultrasonic robot scanning control device, It is characterized in that It includes: A preparation module, used for controlling the robot arm to move toward the to-be-scanned area of ​​the human body to contact the human body in a low damping mode, and entering a high precision mode when the contact force reaches a target contact force; A scanning module is used to obtain the interactive force and spatial position of the end of the robotic arm in real time in the high-precision mode, and calculate the target joint torque in combination with the target contact force, and then control the robotic arm to perform ultrasonic scanning according to a first preset damping value and the target joint torque. The damping value in the low damping mode is lower than the first preset damping value.

9. A computer device, It is characterized in that The computer device includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory, and when the program instructions are executed by the processor, the processor executes the steps of the ultrasonic robot scanning control method according to any one of claims 1 to 7.

10. A storage medium, It is characterized in that The device stores program instructions capable of implementing the ultrasonic robot scanning control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Bandage type ultrasonic treatment device

    CN102078664A

  • Carrier Device Capable Of Varying Contact Damping With Pressured Displacement

    CN107448533A

  • Robot self-adaptive variable damping impedance control method

    CN111037571A

  • Fuzzy variable admittance control system and method for cooperative mechanical arm based on human intention recognition

    CN113733105A

  • Mechanical arm control method and device, mechanical arm and readable storage medium

    CN115179279A

Cited By

  • Ultrasonic robot scanning control method, device and equipment and storage medium

    CN116175584A

  • Ultrasonic Robot Scanning Control Method, Device, Equipment and Storage Medium

    CN116175584B

  • Medical robot system based on compliant dragging and control method thereof

    CN119407768A

  • Robot-assisted B-ultrasonic detection system and control method

    CN119564259A

  • Multi-arm robot, operation method and device thereof, storage medium and program product

    CN121515157A