A robot control method and system based on manipulator

By combining the inertial measurement unit and the laser positioner, the problem of insufficiently accurate and stable operator positioning in the existing technology is solved, more accurate and stable robot control is achieved, and the coordination of the movement of the operator and the robot is ensured.

CN117901100BActive Publication Date: 2024-08-30GUANGZHOU DEEPSURGERY MEDICAL INSTRUMENT TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410075048.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-18
Publication Date
2024-08-30
Estimated Expiration
2044-01-18

AI Technical Summary

Technical Problem

The manipulator design of the existing robot controller is relatively large, lacks portability and mobility, and the mechanical design and surgical operating habits are greatly different, resulting in a long learning curve, and the inertial measurement unit and laser positioner are insufficient in positioning when used alone. The problem of precision and stability leads to a decrease in the accuracy of robot movement.

Method used

The inertial measurement unit and laser positioner are combined to obtain acceleration data and rotation angle data to correct the gravity acceleration error and measurement error, calculate the acceleration signal and position data of the operator, filter the noise signal, and convert it into the robot's displacement and attitude instructions. , achieving more precise spatial positioning.

Benefits of technology

Through the complementation of the inertial measurement unit and the laser positioner, the spatial positioning accuracy and stability of the manipulator are improved, errors caused by refraction/reflection of the laser positioner and human hand jitter noise are avoided, ensuring the accuracy of the robot movement and human machine coordination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117901100B
    Figure CN117901100B
Patent Text Reader

Abstract

The present invention relates to a robot control method based on a manipulator, wherein an inertial measurement unit and a laser locator are arranged on the manipulator; acceleration data and rotation angle data of the inertial measurement unit and rotation angle data of the laser locator are obtained respectively, and gravity acceleration error and measurement error correction are performed to obtain manipulator acceleration signal and manipulator rotation angle; manipulator speed is calculated based on the acceleration signal and manipulator position data is obtained based on the laser locator; manipulator speed and manipulator position data at two moments before and after are calculated respectively, and manipulator displacement signal is obtained according to manipulator speed and manipulator position data at two moments before and after; manipulator displacement signal is converted into robot displacement instruction; manipulator rotation angle is converted into robot posture instruction. The present invention uses an inertial measurement unit and a laser locator simultaneously to obtain the acceleration signal of the manipulator, and two sensors compensate each other, thereby realizing stable spatial positioning and navigation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot control, and more specifically, to a robot control method based on an operator and a system thereof. Background Art

[0002] With the development of automation technology, various automated auxiliary equipment such as robots are applied to all walks of life. For example, in the medical industry, there are various auxiliary equipment such as surgical robots, such as laparoscopic surgery robots, orthopedic surgery robots, etc. For robots with master-slave control, it is necessary to track the movement of the operator's hands and replicate it on the movement of the robot. Currently, the existing robot controller uses encoders and other types of sensors on the joints of the joystick controller to calculate position and posture information, thereby issuing instructions to the robot to complete master-slave motion control. The structure of the manipulator based on the above design is relatively large and requires a dedicated console to be placed. It has the problems of being not lightweight enough and poor mobility. At the same time, the mechanically designed manipulator is quite different from the operator's habit of holding instruments for surgical operations, and the learning curve to master it is relatively long.

[0003] In order to make the operator lighter, a handheld operator is currently designed, which is operated by an inertial measurement unit or infrared positioning to locate and obtain motion information, and then convert the motion information into the movement of the robot. However, the use of an inertial measurement unit will lead to a large displacement accumulation error, and the laser positioner is limited by the laser offset or reflection generated by the environment, which is prone to error fluctuations. Using the signals of both alone will lead to abnormal displacement and jitter, making the spatial positioning of the operator inaccurate and unstable, and ultimately resulting in a decrease in the movement accuracy of the robot. Summary of the invention

[0004] In order to overcome the problem that the spatial positioning of the manipulator in the prior art is not accurate and stable enough, the present invention provides a robot control method based on the manipulator and a system thereof, and simultaneously uses an inertial measurement unit and a laser locator to achieve accurate and stable spatial positioning of the manipulator.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a robot control method based on a manipulator, comprising the following steps:

[0006] Step 1: Set up the inertial measurement unit and laser positioner on the manipulator;

[0007] Step 2: Obtain the acceleration data and rotation angle data of the inertial measurement unit and the rotation angle data of the laser locator respectively, and correct the gravity acceleration error and measurement error to obtain the manipulator acceleration signal u and the manipulator rotation angle Q M ;

[0008] Step 3: Calculate the operator speed U based on the acceleration signal u and obtain the operator position data P based on the laser locator;

[0009] Step 4: Calculate the operator speed U and the operator position data P at two moments before and after respectively, and obtain the operator displacement signal ΔP according to the operator speed U and the operator position data P at two moments before and after;

[0010] Step 5: Convert the manipulator displacement signal ΔP into the robot displacement command; rotate the manipulator by an angle Q M Converted into robot posture instructions.

[0011] In the above technical solution, a laser locator is first used to calculate the command signal, but considering: 1) lasers are easily refracted or reflected on glass or metal materials, which leads to certain errors in the unilateral use of laser locators for sub-millimeter-level fine robot control; 2) in various application scenarios, such as surgical robot control, the control of the robot needs to filter noise signals such as human hand jitter to achieve safe and smooth control. Therefore, the technical solution integrates the inertial measurement unit to assist the laser locator to solve the above-mentioned error and noise problems. The inertial measurement unit can filter the instantaneous positioning offset caused by laser reflection / refraction and the low-speed jitter offset of the human hand by synchronously capturing and calculating the operator speed. However, the underlying calculation of the inertial measurement unit is the acceleration signal, which is itself disturbed by factors such as the magnetic field and has certain errors. Calculating the movement speed of the inertial measurement unit requires an integration operation on the acceleration, which further amplifies the error. Therefore, the scheme corrects the acceleration signal of the manipulator by acquiring data from the inertial measurement unit and the laser locator respectively. The laser locator is used to correct the gravity acceleration error and measurement error of the inertial measurement unit to obtain a more accurate acceleration signal of the manipulator. A more accurate manipulator speed U is obtained through a more accurate acceleration signal. Then, the manipulator speed U and the manipulator position data P are combined to filter out the hand shaking noise and the offset error caused by refraction / reflection of the laser positioning, and the displacement signal ΔP of the manipulator at two moments before and after is calculated. Based on the displacement signal ΔP of the manipulator, it is converted into the displacement command of the robot. Based on the rotation angle of the manipulator, that is, the posture change of the manipulator, it is converted into the posture command of the robot. The robot executes the displacement command and posture command.

[0012] Preferably, in step 2, the formula of the acceleration signal u is as follows:

[0013]

[0014] In the formula, R IMU It is represented as a rotation matrix based on the inertial measurement unit; the superscript -1 indicates the matrix inversion; the superscript T indicates the matrix transposition; uIMU Represents the acceleration data of the inertial measurement unit; || || represents the calculation of the second norm of the matrix; is the measurement error matrix of the inertial measurement unit in the acceleration output matrix u of the inertial measurement unit IMU The mapping component of R IMU G represents the acceleration output matrix u of the gravity acceleration in the inertial measurement unit IMU The mapping component of R IMU It is represented as a rotation matrix based on the laser locator; G IMU is the measured value of gravity acceleration in the inertial measurement unit obtained by using the laser locator attitude and inertial measurement unit acceleration data; e is the measurement error matrix of the inertial measurement unit.

[0015] Preferably, the rotation matrix of the inertial measurement unit is constructed according to the rotation angle data of the inertial measurement unit, specifically:

[0016]

[0017] In the formula, α imu ,β imu ,γ imu Respectively represent the angles of rotation around the x-axis, y-axis, and z-axis of the inertial measurement unit;

[0018] G IMU =ΔR -1 u IMU T

[0019] ΔR=R IMU -1 -R IR -1

[0020]

[0021] In the formula, R IR is the rotation matrix of the laser locator, α ir ,β ir ,γ ir Respectively represent the rotation angles around the x-axis, y-axis and z-axis of the infrared laser locator;

[0022] e=G IMU -G

[0023] Where G = [0, 0, g] T , where g is the acceleration due to gravity.

[0024] Preferably, in step three, the acceleration signal u is filtered to obtain u′, u′ is accumulated to obtain U′, and then U′ is filtered twice to obtain the operator speed U.

[0025] Preferably, the filtering method of u' is to set a filtering threshold, set a mapping relationship between the filtering threshold and the different size comparison relationship of the acceleration signal u and the u' value, and obtain u' according to the input acceleration signal u and the mapping relationship. By setting the filtering threshold, the effect of human hand physiological tremor is filtered.

[0026] Preferably, the secondary filtering method is: setting an adjustable threshold, setting a mapping relationship between the size comparison relationship of the adjustable threshold and U' and the operator speed U, and obtaining the operator speed U according to the input U' and the mapping relationship. By reasonably setting the adjustable threshold, abnormal rapid movement can be effectively suppressed, such as accidental collision with the operator, accidental touch of the operator's hand, and slipping of the operator.

[0027] Preferably, in step 4, the specific process is:

[0028] S4.1: Execute steps 1 to 3 at time t0 to obtain the operator speed U and operator position data P at time t0, respectively denoted as U t0 and P t0 ;

[0029] S4.2: Re-execute steps 1 to 3 at time t1 to obtain the operator speed U and operator position data P at time t1, which are respectively denoted as U t1 and P t1 ;

[0030] S4.3: Process and output the operator displacement signal ΔP between the two moments t0 and t1, specifically:

[0031]

[0032] Wherein, abs represents the absolute value operation; k2 represents the preset threshold value.

[0033] One of the two moments t0 and t1 is the current moment, and the other can be a moment before or after the current moment. The noise of the laser locator displacement signal is filtered by the above formula to avoid abnormal noise motion signals, and finally achieve a stable operator control effect.

[0034] Preferably, in step 5, the robot rotation matrix R is also obtained. R and based on the manipulator rotation angle Q M Construct the operator rotation matrix R M, using the above rotation matrix, the spatial position of the manipulator is mapped to the coordinate system of the robot. Specifically, it can be achieved that the human hand can hold the manipulator in any way and any posture, and be in any position of laser irradiation, and the robot responds to the movement direction of the manipulator, which is always completely consistent with the movement direction of the human hand holding the manipulator. In this way, the robot can be controlled by the operation positioning while avoiding the situation of human-machine incoordination when the holding direction is inconsistent with the robot movement direction;

[0035] According to the displacement signal ΔP of the manipulator and the rotation matrix R of the robot R , calculate the displacement command ΔP mapped from the operator to the robot coordinate system R :

[0036] ΔP R =R R -1 ΔP

[0037] Rotate the matrix R according to the operator M and the robot rotation matrix R R , calculate the posture instructions α, β, and γ mapped from the operator to the robot coordinate system:

[0038] R tmp =R R -1 R M

[0039]

[0040]

[0041] γ=atan(-R tmp (1,2)cos(β)R tmp (3,3) / R tmp (1,1)cos(α)R tmp (2,2))

[0042] In the formula, R tmp Represents R tmp Matrix; R tmp (1,3) is represented by R tmp The value of the first row and third column of the matrix; R tmp (1,2) is represented by R tmp The value of the first row and second column of the matrix; R tmp (2,3) is represented by R tmp The value in the 2nd row and 3rd column of the matrix; α, β, and γ represent the angles of rotation of the manipulator around the x-axis, y-axis, and z-axis of the robot coordinate system, respectively.

[0043] Preferably, the robot rotation matrix R RSpecifically:

[0044]

[0045] In the formula, α R ,β R ,γ R They respectively represent the rotation angles of the robot base around the x-axis, y-axis and z-axis of the laser base station; C represents cosine; S represents sin.

[0046] Operator rotation matrix R M Specifically:

[0047]

[0048] In the formula, α M , β M and γ M They respectively represent the rotation angles of the manipulator around the x-axis, y-axis, and z-axis of the laser base station.

[0049] A robot control system based on an operator, used to implement the above-mentioned robot control method based on an operator, comprises an operator, a robot and a laser base station installed indoors; the operator comprises a laser locator and an inertial measurement unit; the robot is also equipped with a laser locator.

[0050] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention simultaneously uses an inertial measurement unit and a laser positioner to obtain an acceleration signal of the manipulator, corrects the error value therein, and then obtains a displacement signal of the manipulator based on the acceleration signal, and finally converts the displacement signal into the displacement of the robot. The two sensors compensate each other, thereby avoiding the positioning error caused by refraction / reflection of the laser and filtering out noise signals generated by hand shaking, etc.

[0051] Through the conversion of the coordinate system of the manipulator and the robot, the robot can be controlled by the operation positioning, while avoiding the situation of human-machine incoordination when the holding direction is inconsistent with the robot's movement direction, ensuring that the robot responds to the movement direction of the manipulator and is always completely consistent with the movement direction of the human hand holding the manipulator. Through the above gain effect, a stable, accurate and completely human-machine consistent positioning and navigation effect in space is finally achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A flowchart of a robot control method based on a manipulator of the present invention; DETAILED DESCRIPTION

[0053] The drawings are only for illustrative purposes and cannot be construed as limiting the present invention. To better illustrate the present embodiment, some parts of the drawings may be omitted, enlarged, or reduced, and do not represent the size of the actual product. For those skilled in the art, it is understandable that some well-known structures and their descriptions may be omitted in the drawings. The positional relationships described in the drawings are only for illustrative purposes and cannot be construed as limiting the present invention.

[0054] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "long", "short" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and cannot be understood as limitations on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0055] The technical solution of the present invention is further described in detail below through specific embodiments and in conjunction with the accompanying drawings:

[0056] Example 1

[0057] like Figure 1 A method for controlling a robot based on a manipulator is shown, comprising the following steps:

[0058] Step 1: Set up the inertial measurement unit and laser positioner on the manipulator;

[0059] Step 2: Get the acceleration data of the inertial measurement unit separately (in Respectively represent the displacement acceleration) and rotation angle data Q along the current x-axis, y-axis and z-axis of the IMU IMU =[α imu ,β imu ,γ imu ](Get the rotation angle data of the inertial measurement unit, that is, the gyroscope data, which represents the current attitude angle of the joystick IMU, where α imu ,β imu ,γ imu Respectively represent the angles of rotation around the x-axis, y-axis and z-axis of the IMU) and the angle data Q of the laser locator IR =[α ir ,β ir ,γ ir ](The angle data of the laser locator is the Euler angle data, which represents the current attitude angle of the infrared laser locator of the joystick, where α ir ,βir ,γ ir Respectively represent the angles of rotation around the x-axis, y-axis and z-axis of the infrared laser locator), and perform gravity acceleration error and measurement error correction to obtain the manipulator acceleration signal u and manipulator rotation angle Q M ;

[0060] Using Q IMU and Q IR Construct the rotation matrix R of the inertial measurement unit respectively I<MU and the rotation matrix R of the laser locator IR , calculated as follows:

[0061]

[0062]

[0063] Considering that the IMU sensor and the infrared laser locator are coaxial on the joystick, the theoretical Q IMU =Q IR But in fact, due to sensor error, Q IMU With Q IR There is a certain deviation. The difference between the inverse matrices of the two matrices is obtained to obtain the error rotation matrix ΔR:

[0064] ΔR=R IMU -1 -R IR -1

[0065] The superscript -1 indicates matrix inversion.

[0066] Step 3: Considering that IMU is an inertial measurement sensor, the acceleration signal of IMU actually has more gravity acceleration than the infrared laser locator. At the same time, considering that the acceleration signal of IMU is based on the current posture of IMU, while the acceleration signal of infrared laser locator is based on the horizontally placed positioning base station, there is a rotation deviation between the two in the coordinate system. Therefore, the following calculation can be made:

[0067] G IMU =ΔR -1 u IMU T

[0068] The superscript -1 indicates matrix inversion, the superscript T indicates matrix transposition, and G IMU It is the measured value of gravity acceleration in IMU solved by using the infrared laser locator attitude and IMU acceleration signal.

[0069] Step 4: Considering that G IMUThe error with the real gravity acceleration g, observes the acceleration measurement error of IMU. Define a gravity acceleration matrix: G = [0,0,g] T , where g is the gravitational acceleration, calculate the IMU measurement error matrix e:

[0070] e=G IMU -G

[0071] Step 5: Use the error matrix to correct and output the current acceleration signal of the operator. The correction formula is as follows:

[0072]

[0073] In the formula, R IMU It is represented as a rotation matrix based on the inertial measurement unit; the superscript -1 indicates the matrix inversion; the superscript T indicates the matrix transposition; u IMU Represents the acceleration data of the inertial measurement unit; || || represents the calculation of the second norm of the matrix; is the measurement error matrix of the inertial measurement unit in the acceleration output matrix u of the inertial measurement unit IMU The mapping component of R IMU G represents the acceleration output matrix u of the gravity acceleration in the inertial measurement unit IMU The mapping component of R IMU It is represented as a rotation matrix based on the laser locator; G IMU is the measured value of gravity acceleration in the inertial measurement unit obtained by using the laser locator attitude and inertial measurement unit acceleration data; e is the measurement error matrix of the inertial measurement unit.

[0074] Step 3: Calculate the operator speed U based on the acceleration signal u and obtain the operator position data P based on the laser locator; in this embodiment, the acceleration signal u is filtered to obtain u', u' is accumulated to obtain U', and then U' is filtered twice to obtain the operator speed U. Both u' and U' are intermediate values.

[0075] In the embodiment, the filtering method of u' is to set a filtering threshold, set a mapping relationship between the filtering threshold and the different size comparison relationship of the acceleration signal u and the u' value, and obtain u' according to the input acceleration signal u and the mapping relationship. By setting the filtering threshold, the effect of human hand physiological tremor is filtered. The specific mapping relationship is:

[0076]

[0077] Where abs is the absolute value operation; k1 is the filtering threshold. In this embodiment, k1 can be set to 2 mm / s 2 .

[0078] The secondary filtering method is: set an adjustable threshold, set the mapping relationship between the adjustable threshold and U' and the operator speed U, and obtain the operator speed U according to the input U' and the mapping relationship. By setting the adjustable threshold reasonably, abnormal rapid movement can be effectively suppressed, such as accidental collision with the operator, accidental touch of the operator's hand, and slipping of the operator. The specific mapping relationship is:

[0079]

[0080] In the formula, sign represents the sign operation. When U ′ = 0, sign(U′) = 0; k2 is the adjustable threshold; e is a natural constant; ln is the logarithm with constant e as the base. Because U′ is accumulated and generally has a large value, the above formula compresses U′ to [-ln e+k2 ,+ln e+k2 ] range, and clear the speed exceeding the threshold k2 to 0. By setting k2 reasonably, abnormal rapid movement can be effectively suppressed, such as accidental collision with the operator, accidental touch of the operator's hand, and slipping of the operator. In this embodiment, the threshold is 20 mm / s.

[0081] Step 4: Calculate the operator speed U and the operator position data P at two moments before and after respectively, and obtain the operator displacement signal ΔP according to the operator speed U and the operator position data P at two moments before and after;

[0082] S4.1: Execute steps 1 to 3 at time t0 to obtain the operator speed U and operator position data P at time t0, respectively denoted as U t0 and P t0 ;

[0083] S4.2: At time t1, re-execute steps 1 to 3 to obtain the operator speed U and operator position data P at time t1, which are respectively denoted as U t1 and P t1 ;

[0084] S4.3: Process and output the operator displacement signal ΔP between the two moments t0 and t1, specifically:

[0085]

[0086] Wherein, abs represents the absolute value operation; k2 is the adjustable threshold, which is consistent with the k2 above.

[0087] One of the two moments t0 and t1 is the current moment, and the other can be a moment before or after the current moment. The noise of the laser locator displacement signal is filtered by the above formula to avoid abnormal noise motion signals, and finally achieve a stable operator control effect.

[0088] Step 5: Use the laser locator on the robot to obtain the robot's posture Q relative to the laser base station at time t1 R =[α R ,β R ,γ R ](represents the current posture angle of the robot base, where α R ,β R ,γ R Respectively represent the angles of rotation around the x-axis, y-axis and z-axis of the infrared laser locator), and construct the following robot rotation matrix R R :

[0089]

[0090] In the formula, α R ,β R ,γ R They respectively represent the rotation angles of the robot around the x-axis, y-axis and z-axis of the laser base station; C represents cosine; S represents sin.

[0091] According to Q at time t1 IMU =[α imu ,β imu ,γ imu ] and Q IR =[α ir ,β ir ,γ ir ] Calculate the operator rotation angle Q M And construct the operator rotation matrix R M :

[0092]

[0093] In the formula, α M , β M and γ M They respectively represent the rotation angles of the manipulator around the x-axis, y-axis, and z-axis of the laser base station.

[0094] According to the displacement signal ΔP of the manipulator and the rotation matrix R of the robot R , calculate the displacement command ΔP mapped from the operator to the robot coordinate system R :

[0095] ΔP R =R R -1 ΔP

[0096] Rotate the matrix R according to the operator M and the robot rotation matrix R R, calculate the posture instructions α, β, and γ mapped from the operator to the robot coordinate system:

[0097] R tmp =R R -1 R M

[0098]

[0099]

[0100] γ=atan(-R tmp (1,2)cos(β)R tmp (3,3) / R tmp (1,1)cos(α)R tmp (2,2))

[0101] In the formula, R tmp Represents R tmp Matrix; R tmp (1,3) is represented by R tmp The value of the first row and third column of the matrix; R tmp (1,2) is represented by R tmp The value of the first row and second column of the matrix; R tmp (2,3) is represented by R tmp The value in the 2nd row and 3rd column of the matrix; α, β, and γ represent the angles of rotation of the manipulator around the x-axis, y-axis, and z-axis of the robot coordinate system, respectively.

[0102] Beneficial effects of this embodiment: The inventor uses an inertial measurement unit and a laser locator simultaneously to obtain the acceleration signal of the manipulator, corrects the error value therein, and then obtains the displacement signal of the manipulator based on the acceleration signal, and finally converts the displacement signal into the displacement of the robot, and the two sensors compensate each other to achieve stable spatial positioning and navigation.

[0103] Example 2

[0104] An embodiment of an operator-based robot control system, used to implement the above-mentioned operator-based robot control method, includes an operator, a robot and a laser base station installed indoors; the operator includes a first laser locator and an inertial measurement unit; the robot is equipped with a second laser locator.

[0105] In this embodiment, the robot includes a robot base and an execution robot installed on the robot base, wherein the execution robot is installed with a sensor for obtaining the posture of the robot base; and the second laser locator is installed on the robot base. The robot rotation matrix in Example 1 is the robot base rotation matrix, and the execution robot obtains the posture of the robot through the sensor to execute related instructions.

[0106] Example 3

[0107] A storage medium stores a computer program, which, when read and executed by a processor, implements a robot control method based on an operator in the above-mentioned embodiment 1.

[0108] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A robot control method based on a manipulator, characterized in that: The steps include: Step 1: Set up the inertial measurement unit and laser positioner on the manipulator; Step 2: Obtain the acceleration data and rotation angle data of the inertial measurement unit and the rotation angle data of the laser locator respectively, and correct the gravity acceleration error and measurement error to obtain the manipulator acceleration signal u and the manipulator rotation angle Q M ; The formula of acceleration signal u is as follows: In the formula, R IMU It is represented as a rotation matrix based on the inertial measurement unit; the superscript -1 indicates the matrix inversion; the superscript T indicates the matrix transposition; u IMU Represents the acceleration data of the inertial measurement unit; |||| represents the calculation of the second norm of the matrix; is the measurement error matrix of the inertial measurement unit in the acceleration output matrix u of the inertial measurement unit IMU The mapping component of R IMU G represents the acceleration output matrix u of the gravity acceleration in the inertial measurement unit IMU The mapping component of R IMU It is represented as a rotation matrix based on the laser locator; G IMU is the measured value of gravity acceleration in the inertial measurement unit obtained by using the laser locator attitude and the acceleration data of the inertial measurement unit; e is the measurement error matrix of the inertial measurement unit; Step 3: Calculate the operator speed U based on the acceleration signal u and obtain the operator position data P based on the laser locator; Step 4: Calculate the operator speed U and the operator position data P at two moments before and after respectively, and obtain the operator displacement signal ΔP according to the operator speed U and the operator position data P at two moments before and after; Step 5: Convert the manipulator displacement signal ΔP into the robot displacement command; rotate the manipulator by an angle Q M Converted into robot posture instructions.

2. A robot control method based on a manipulator according to claim 1, characterized in that: The rotation matrix of the inertial measurement unit is constructed according to the rotation angle data of the inertial measurement unit, specifically: In the formula, α imu ,β imu ,γ imu Respectively represent the angles of rotation around the x-axis, y-axis, and z-axis of the inertial measurement unit; G IMU =ΔR -1 u IMU T ΔR=R IMU -1 -R IR -1 In the formula, R IR is the rotation matrix of the laser locator, α ir ,β ir ,γ ir Respectively represent the rotation angles around the x-axis, y-axis and z-axis of the infrared laser locator; e=G IMU -G Where G = [0, 0, g] T , where g is the acceleration due to gravity.

3. A robot control method based on a manipulator according to claim 1, characterized in that: In the step three, the acceleration signal u is filtered to obtain u′, u′ is accumulated to obtain U′, and U′ is filtered twice to obtain the operator speed U.

4. A robot control method based on a manipulator according to claim 3, characterized in that: The filtering method of u′ is to set a filtering threshold, set a mapping relationship between the filtering threshold and the different size comparison relationship of the acceleration signal u and the u′ value, and obtain u′ according to the input acceleration signal u and the mapping relationship.

5. The robot control method based on the manipulator according to claim 3, characterized in that: The secondary filtering method is: setting an adjustable threshold, setting a mapping relationship between the adjustable threshold and the size comparison relationship of U′ and the operator speed U, and obtaining the operator speed U according to the input U′ and the mapping relationship.

6. The robot control method based on the manipulator according to claim 3, characterized in that: In the step 4, the specific process is: S4.1: Execute steps 1 to 3 at time t0 to obtain the operator speed U and operator position data P at time t0, respectively denoted as U t0 and P t0 ; S4.2: At time t1, re-execute steps 1 to 3 to obtain the operator speed U and operator position data P at time t1, which are respectively denoted as U t1 and P t1 ; S4.3: Process and output the operator displacement signal ΔP between the two moments t0 and t1, specifically: Wherein, abs represents the absolute value operation; k2 represents the preset threshold value.

7. The robot control method based on a manipulator according to claim 3, characterized in that: In step 5, the robot rotation matrix R is also obtained. R and based on the manipulator rotation angle Q M Construct the operator rotation matrix R M ; According to the displacement signal ΔP of the manipulator and the rotation matrix R of the robot R , calculate the displacement command ΔP mapped from the operator to the robot coordinate system R : ΔP R =R R -1 ΔP Rotate the matrix R according to the operator M and the robot rotation matrix R R , calculate the posture instructions α, β, and γ mapped from the operator to the robot coordinate system: R tmp =R R -1 R M γ=atan(-R tmp (1,2)cos(β)R tmp (3.3) / R tmp (1,1)cos(α)R tmp (2,2)) In the formula, R tmp Represents R tmp Matrix; R tmp (1,3) is represented by R tmp The value of the first row and third column of the matrix; R tmp (1,2) is represented by R tmp The value of the first row and second column of the matrix; R tmp (2,3) is represented by R tmp The value in the 2nd row and 3rd column of the matrix; α, β, and γ represent the rotation angles of the x-axis, y-axis, and z-axis in the robot coordinate system, respectively.

8. The robot control method based on the manipulator according to claim 6, characterized in that: Robot rotation matrix R R Specifically: In the formula, α R ,β R ,γ R They represent the rotation angles of the robot around the x-axis, y-axis, and z-axis of the laser base station; C represents cosine; S represents sin Operator rotation matrix R M Specifically: In the formula, α M , β M and γ M They respectively represent the rotation angles of the manipulator around the x-axis, y-axis, and z-axis of the laser base station.

9. A robot control system based on an operator, characterized in that: A robot control method based on an operator for implementing any one of claims 1 to 8, comprising an operator, a robot and a laser base station installed indoors; the operator comprises a laser locator and an inertial measurement unit; the robot is also equipped with a laser locator.

Citation Information

Patent Citations

  • Indoor robot trajectory tracking system and method based on nine-axis inertial sensor

    CN107560613A

  • Indoor 3D data acquisition method

    CN108225328A