Robotic arm and control method for multi-point measurement based on distributed flexible sensors
Through distributed flexible sensors and morphological reconstruction algorithms, high-precision control of flexible manipulators is achieved, solving the problems of morphological perception and precise control, reducing costs and adapting to complex environments, and has broad application prospects.
Patent Information
- Application Number
- CN202410756977.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-13
AI Technical Summary
It is difficult to achieve self-perception of the shape and high-precision control of flexible manipulators with existing technology, especially in complex environments. The traditional fiber grating method has high cost, high power consumption and relies on external motion capture systems.
Using a multi-point measurement system and morphological reconstruction algorithm based on distributed flexible sensors, a flexible sensor array is arranged on the robotic arm to measure local strain signals, and combined with the structural characteristics of the robotic arm, a morphological inversion algorithm is designed to realize the morphological shape of the robotic arm. Reconfiguration and closed-loop control.
It improves the control accuracy and application efficiency of the flexible robotic arm, reduces the system cost, is suitable for narrow spaces and high temperature environments, is not affected by the material properties of the robotic arm, and has good application and promotion prospects.
Smart Images

Figure CN118342487B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robots and mechanical arms, and in particular to a mechanical arm and a control method for performing multi-point measurement based on distributed flexible sensors. Background Art
[0002] With the rapid development of flexible electronic technology, flexible robotic arms have shown broad application prospects in automation, robotics, medical rehabilitation and other fields due to their good adaptability and safety. However, precise control of flexible robotic arms and real-time monitoring of their morphology are crucial to realizing their functions. Although there are many types of flexible robotic arms, such as gas-driven, dielectric elastomer-driven, and rope-driven robotic arms, there is a lack of morphology measurement methods for robotic arms. The morphology measurement of flexible robotic arms currently mainly uses an external motion capture system, which arranges a row of reflective marking points on the robotic arm and uses an optical motion capture system to measure the changes in the shape of the robot. How to achieve self-perception of morphology without relying on an external motion capture system is the only way to achieve closed-loop control of soft robotic arms.
[0003] The existing typical technology is the fiber Bragg grating method, which has the disadvantages of high cost, large size of laser modulation and demodulation module, and high power consumption.
[0004] In terms of the morphological reconstruction method, since the proposed robot arm adopts a quadrangular prism structure made of spring steel sheets, which is novel in design, the morphological measurement method for its design is also a new method. Summary of the invention
[0005] In order to meet the requirements of flexible robotic arms for high precision and high sensitivity in complex environments, the present invention proposes a robotic arm and a control method for multi-point measurement based on distributed flexible sensors, a multi-point measurement system design method and a morphology reconstruction algorithm based on distributed flexible strain gauge sensors, which are used to improve the control accuracy and application efficiency of the flexible robotic arm.
[0006] To achieve the above object, the present invention provides a control method for a robotic arm for multi-point measurement based on a distributed flexible sensor, the control method comprising the following steps:
[0007] S1. Arrange flexible sensors on the robotic arm to form a distributed sensor array;
[0008] S2. Use the sensor to measure the local strain, collect the sensor signal, amplify the weak signal through the signal amplifier, convert the analog signal into a digital signal through the converter and send it to the sensor signal processing module;
[0009] S3. The sensor signal processing module designs a morphological inversion algorithm based on the specific structure and mechanical characteristics of the robot arm, reconstructs the overall configuration of the robot arm, reconstructs the robot arm morphology algorithm based on the sensor signal, calculates the spatial three-dimensional coordinates of the pre-selected feature points on the robot arm, and inputs them into the control computer;
[0010] S4. The control computer plans the next movement strategy according to the set target and current form of the robot arm, gives the corresponding control signal, and drives the robot arm to move;
[0011] S5. The robot arm moves in a controlled manner according to a predetermined posture, causing local strain in the structure. The sensor collects these strain signals, monitors the motion state, and completes the entire closed-loop control process;
[0012] In step S3, the algorithm for reconstructing the shape of the robotic arm according to the sensor signal is as follows:
[0013] S3.1. Obtain the distance between the corresponding sides of two adjacent boxes according to the voltage value measured by the sensor;
[0014] S3.2. Measure the distance between each corresponding edge of adjacent quadrilateral elements , the relative position relationship of the two boxes is obtained according to the four distance values;
[0015] S3.3, superimpose all the quadrilateral boxes to reconstruct the shape of the entire arm;
[0016] Wherein, step S3.2 includes:
[0017] S3.2.1 Calculate the plane normal vector of the previous square. Suppose the four vertices of the square are A, B, C, and D. Then the plane normal vector is: ;
[0018] S3.2.2. The four distance values measured are , define the average distance: ,
[0019] S3.2.3. The center point of the previous square is , the center point of the next new square It is expressed as:
[0020] S3.2.4. Calculate the angle of the first rotation:
[0021] ,in , L is the side length of the square box;
[0022] S3.2.5. Define the rotation axis 1 as passing through the two midpoints of the square frame The straight line, It is the first vertex of the square. and Vertex 4 The midpoint of It is the second vertex of the square. and Vertex 3 Midpoint:
[0023] ,
[0024]
[0025] According to the rotation center, rotation axis, rotation angle Perform a rotation;
[0026] S3.2.6. The parameters of the second rotation are , is the midpoint between vertices 1 and 2 of the square. is the midpoint between vertices 3 and 4 of the square. is the angle of the second rotation.
[0027] Furthermore, in step S3.1, a sensor is pasted on the spring sheet unit of the robot arm, and the voltage value V of the sensor is converted into a distance L; the voltage value V is recorded, and the distance L between the corresponding sides of two adjacent boxes is measured to obtain the corresponding VL mapping relationship, and then function fitting is performed.
[0028] Furthermore, for step S3.2.5, in the three-dimensional space, other points are rotated with the straight line passing through the two given points as the rotation axis.
[0029] Further, step S3.2.5 specifically includes: Step S3.2.5 includes the following steps to implement: 1) calculating the direction vector of the rotation axis; 2) moving the rotation axis to the origin; 3) calculating the transformation matrix rotating around the origin; 4) applying the rotation transformation; 5) moving the rotation axis and point back to the original position.
[0030] A robotic arm for implementing any of the control methods described above, the robotic arm is a foldable robotic arm, the robotic arm comprises a left fixed seat, a plurality of folding units and an end camera, wherein the folding unit comprises a square frame, adjacent square frames are connected by a plurality of elastic sheets, the elastic sheets of adjacent square frames are connected by hinges, each square frame is provided with a rope threading hole, a control rope is arranged in the rope threading hole, and the movement of the robotic arm is controlled by retracting and relaxing the control rope; a camera is installed at the end of the robotic arm; a sensor array composed of a plurality of sensors is arranged on the robotic arm to realize a distributed flexible sensor, and multi-point measurement is performed by the plurality of sensors to realize the movement control of the robotic arm.
[0031] Furthermore, the sensor is arranged on the inner surface of the elastic sheet; and a signal line is arranged inside the mechanical arm to connect the sensor and the signal processing module.
[0032] Furthermore, the sensor is a flexible sensor, using a resistance strain gauge, including two layers of upper and lower flexible substrate materials and a strain gauge wire grid sandwiched in the middle, wherein the strain gauge wire grid is wound into a grid shape by constantan wire or nickel-chromium wire, or corroded into a grid shape by metal foil; the silver-plated copper wire of the resistance sheet lead is connected to the strain gauge wire grid; the flexible substrate material is made of phenolic-epoxy resin or polyimide material; and the flexible sensor is pasted on the inner surface of the elastic sheet.
[0033] Furthermore, the elastic sheet is made of spring steel sheet or elastic composite material.
[0034] Beneficial effects:
[0035] The robotic arm and control method for performing multi-point measurement based on distributed flexible sensors according to the present invention can meet the requirements of the flexible robotic arm for high precision and high sensitivity in complex environments, and improve the control accuracy and application efficiency of the flexible robotic arm.
[0036] The system cost is low. Compared with the existing means, such as laser fiber morphology measurement devices, the components of this system only need commonly used analog-to-digital conversion circuits and signal processing units such as single-chip microcomputers to complete.
[0037] Compared with visual positioning methods such as cameras, this solution is a body measurement method and can be applied to narrow space working scenes. In such scenes, external visual methods cannot complete the measurement due to line of sight obstruction. And the visual solution requires good lighting conditions.
[0038] The working temperature range is wide, and it is made of cables, polyimide, metal wires and other materials, and can adapt to the temperature of -40℃~80℃. However, general optical fiber and other means are greatly affected by temperature.
[0039] The morphology solving method provided by the present invention is a pure geometric method, which is not affected by the material properties of the robot arm and does not require the construction of a dynamic model of the robot arm.
[0040] This solution has good prospects for application and promotion. It can be made into a separate measuring device by attaching to elastic units such as springs. It does not have to be limited to a specific robotic arm design. The measuring device is integrated inside a robotic arm with a cavity and moves and bends with the robotic arm. It is a good flexible measuring device with stretchable characteristics.
[0041] In summary, the flexible arm measurement scheme proposed in this scheme has the advantages of being independent of external lighting, suitable for narrow spaces, having a wide operating temperature range, being unaffected by the material properties of the robotic arm itself, and having broad prospects for application and promotion. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of the overall architecture of a mechanical arm and a control method for performing multi-point measurement based on distributed flexible sensors according to the present invention is shown;
[0043] Figure 2 The invention shows a foldable mechanical arm based on a spring steel sheet and a method for arranging a flexible sensor thereof;
[0044] Figure 3 A schematic diagram of a closed-loop control process of a robotic arm based on a flexible sensor array according to the present invention is shown;
[0045] Figure 4 A schematic diagram of the morphology reconstruction of the robot arm drawn according to the signal of the sensor according to the present invention is shown;
[0046] Figure 5 The figure shows the setting position of the sensor according to the present invention and the schematic diagram of the sensor structure;
[0047] Figure 6 A schematic diagram of a data acquisition and measurement circuit according to the present invention is shown. DETAILED DESCRIPTION
[0048] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and 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, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0050] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0051] The following combination Figure 1-Figure 6 The specific embodiments of the present invention are described in detail. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0052] In order to meet the requirements of flexible robotic arms for high precision and high sensitivity in complex environments, the present invention proposes a robotic arm and a control method for performing multi-point measurement based on distributed flexible sensors.
[0053] like Figure 1 As shown, the robot arm in the present invention is a foldable flexible robot arm based on an elastic sheet, which is composed of a plurality of foldable units. The number of foldable units can be set as required, and the robot arm can be controlled to switch between a fully folded state, a bent working state, and a fully extended state by controlling the rope. The bent working state is a non-fixed state, and each foldable unit can be controlled to fold in any direction according to work requirements, so that the entire robot arm can be bent in any form. Figure 1 The specific structure of the folding and unfolding unit and its control rope can be seen in the enlarged view shown in the box. Each folding and unfolding structure includes an upper frame and four triangular elastic sheets arranged below the upper frame, and a lower frame and four triangular elastic sheets arranged above the lower frame; two adjacent elastic sheets in the vertical direction are connected by hinges, so that the upper and lower elastic sheets can be kept at any angle between the folded and unfolded states by the control rope, so as to realize the overall bending of the robot arm. A sensor is arranged on each elastic sheet of the robot arm to realize multi-point measurement by distributed flexible sensors. The weak signal of the sensor is converted into a digital signal after being processed by a multi-channel signal amplification / acquisition module. The position coordinates are calculated by the signal processor to obtain the morphological reconstruction signal. The control computer generates control instructions to form a closed-loop control.
[0054] like Figure 2 As shown, in a specific embodiment, the foldable flexible mechanical arm based on elastic sheets in the present invention is a lightweight and foldable mechanical arm design, the mechanical arm includes a left fixed seat, a plurality of square frames 7, adjacent square frames 7 are connected by a plurality of elastic sheets 2, adjacent elastic sheets 2 are connected by hinges 5, each square frame 7 is provided with a rope threading hole 6, the rope threading hole 6 is provided with a control rope, and the movement of the mechanical arm is controlled by controlling the retraction and relaxation of the rope; a camera is installed at the end of the mechanical arm; a sensor array composed of a plurality of sensors 1 is arranged on the mechanical arm to realize multi-point measurement by distributed flexible sensors, and the sensor 1 is attached to the inner surface of the elastic sheet 2; a signal line is arranged inside the mechanical arm for connecting the sensor and the signal processing module. The elastic sheet 2 is preferably made of spring steel sheet.
[0055] Specifically, Figure 5As shown, the sensor 1 is a flexible sensor, using a resistance strain gauge, including two layers of flexible substrate material 1.3 and a strain gauge wire grid 1.1 sandwiched in the middle, wherein the strain gauge wire grid 1.1 is made of constantan wire or nickel-chromium wire wound into a grid shape (or corroded into a grid shape with a very thin metal foil) and sandwiched between two layers of insulating sheets (substrate). Silver-plated copper wire 1.2 is connected to the strain gauge wire grid and serves as a resistor lead. The flexible substrate material is made of phenolic-epoxy resin or polyimide material. The flexible sensor 1 is attached to the inner surface of the elastic sheet 2.
[0056] The elastic sheet 2 is preferably made of a spring steel sheet, which is a thin steel sheet with elasticity, and can also be made of an elastic composite material.
[0057] The signal line 3 is used to connect the sensor and the signal processing module. Considering the large number of sensors and channels, a flexible cable can be used. The signal line is arranged inside the robot arm.
[0058] A camera 4 can be installed at the end of the manipulator to perform end positioning and auxiliary operation. Considering that there is a cumulative error in predicting the end position of the manipulator using the flexible sensor array-based method to measure the manipulator morphology, using the end camera 4 for correction can improve the measurement accuracy of the system.
[0059] When there is a reference object with known position and posture in the camera's field of view, the terminal camera can obtain the three-axis rotation angle of the camera through image recognition and posture estimation technology. Since the relative position and posture of the terminal camera and the robotic arm are fixed, the rotation angle of the end of the robotic arm can be obtained by the angle calculated by the camera. The three-dimensional angle of the end of the robotic arm with known posture is used as the first input in the signal reconstruction algorithm, and then the position and posture of all squares are calculated in reverse order, and the shape of the robotic arm can also be reconstructed. According to the above process, the reverse order solution of the robotic arm shape can be obtained, and then it is weighted averaged with the forward order solution to obtain the optimized final measurement result. Since the accuracy of the forward order solution at the initial end is higher than the accuracy of the end, and the accuracy of the reverse order solution at the end is higher than the accuracy of the initial end, therefore, the present invention preferably sets the weight coefficient of the forward order solution to the maximum at the initial end, and the closer to the end, the smaller; the weight coefficient of the reverse order solution should be set to the minimum at the initial end, and the closer to the end, the larger.
[0060] The hinge 5 is a movable part used to connect two adjacent elastic sheets.
[0061] The rope threading hole 6 is used for the control rope of the mechanical arm to pass through.
[0062] The square frame 7 is used to fix the spring sheet, and rope threading holes are arranged on the four vertices.
[0063] like Figure 3 As shown, the closed-loop control process steps of the robotic arm based on the flexible sensor array include:
[0064] S1. Arrange flexible sensors on the robotic arm to form a distributed sensor array;
[0065] S2. Use the sensor to measure the local strain, collect the sensor signal, amplify the weak signal through the signal amplifier, convert the analog signal into a digital signal through the converter and send it to the sensor signal processing module;
[0066] S3. The sensor signal processing module combines the specific structure and mechanical characteristics of the robot arm to design a morphological inversion algorithm and reconstruct the overall configuration of the robot arm, such as Figure 4 As shown. The algorithm for reconstructing the shape of the robot arm according to the signal of the sensor calculates the spatial three-dimensional coordinates of the pre-selected feature points on the robot arm and inputs them into the control computer;
[0067] S4. The control computer plans the next movement strategy according to the set target and current form of the robot arm, gives the corresponding control signal, and drives the robot arm to move;
[0068] S5. The robot arm moves in a controlled manner according to a predetermined posture, causing local strain in the structure. The sensor collects these strain signals, monitors the movement state, and completes the entire closed-loop control process.
[0069] In step S3, the algorithm for reconstructing the shape of the robotic arm according to the signal of the sensor is as follows: S3.1. The distance between the corresponding sides of two adjacent boxes is obtained according to the voltage value measured by the sensor.
[0070] A sensor is attached to the spring sheet unit of the robot arm, and the voltage value V of the sensor is converted into a distance L. The voltage value V is recorded, and the distance L between the corresponding sides of two adjacent boxes is measured to obtain the corresponding mapping relationship of VL, and then function fitting is performed.
[0071] S3.2, measure the distance between each side of adjacent quadrilateral units, and the relative position relationship of the two boxes can be obtained based on the four distance values;
[0072] S3.3. Superimpose all the quadrilateral boxes to reconstruct the shape of the entire arm.
[0073] The detailed process of step S3.2 of the morphological reconstruction algorithm is as follows:
[0074] 4 distance values measured according to the previous square position To calculate the next square position. The whole process includes calculating the center position of the new square, performing two rotations to adjust the direction, and updating the square's coordinates. The two rotations are used to accurately adjust the direction of the new square. The following is a detailed explanation:
[0075] S3.2.1 Calculate the plane normal vector of the previous square. Suppose the four vertices of the square are A, B, C, and D. Then the plane normal vector is: ;
[0076] S3.2.2. The four distance values measured are , define the average distance: ,
[0077] S3.2.3. The center point of the previous square is , the center point of the next new square It is expressed as:
[0078]
[0079] S3.2.4. Calculate the angle of the first rotation:
[0080] ,in , L is the side length of the square box;
[0081] S3.2.5. Define the rotation axis 1 as passing through the two midpoints of the square frame The straight line, It is the first vertex of the square. and Vertex 4 The midpoint of It is the second vertex of the square. and Vertex 3 Midpoint:
[0082] ,
[0083]
[0084] According to the rotation center, rotation axis, rotation angle Perform a rotation;
[0085] S3.2.6. The parameters of the second rotation are , is the midpoint between vertices 1 and 2 of the square. It is the midpoint between vertices 3 and 4 of the square.
[0086] For step S3.2.5, in three-dimensional space, other points are rotated with the straight line passing through two given points as the rotation axis. To complete this task, several steps are required: 1) Calculate the direction vector of the rotation axis; 2) Move the rotation axis to the origin; 3) Calculate the transformation matrix for rotating around the origin; 4) Apply the rotation transformation; 5) Move the rotation axis and point back to the original position. Specifically, step S3.2.5 includes:
[0087] S3.2.5.1. Calculate the direction vector about the axis of rotation.
[0088] The direction vector of the rotation axis Through two points and The calculation results in:
[0089]
[0090] Ensure direction vector is a unit vector and needs to be normalized: ,in, yes Length.
[0091] S3.2.5.2. Translate the axis of rotation to the origin.
[0092] To do this, it is assumed that the axis of rotation is given in step S3.2.5. and The rotation axis formed by the two points requires all points to be along the negative direction vector Move, so that Become the new coordinate origin. Assume is the position of any point after translation for:
[0093]
[0094] S3.2.5.3. Compute the transformation matrix for rotation about the origin.
[0095] The unit vector described in step S3.2.5.1 Rotation Angle The rotation matrix It can be expressed using the Rodriguez rotation formula:
[0096]
[0097] in, is the identity matrix , yes The transposed matrix of yes The antisymmetric matrix of :
[0098] S3.2.5.4. Apply a rotation transformation.
[0099] The rotation matrix Applies to all points translated to the origin If The coordinates of , the rotated coordinates It can be calculated by the following formula:
[0100]
[0101] in() T Represents the transpose of a matrix.
[0102] S3.2.5.5. Move the rotation axis and point back to their original positions.
[0103] The final step is to move the rotation axis and the rotated points back to their original positions. This can be done by inverting the translation performed in step S3.2.5.2, i.e. moving all points along the direction vector Moving back, for the point in step S3.2.5.4 , its final position yes:
[0104]
[0105] In a preferred embodiment, the designed robot arm has a square side length of 6 cm. In the fully extended state, the distance between every two squares (adjacent joints) is 5 cm, and it is composed of 9 joints (or squares) in total.
[0106] The original resistance of the strain gauge used is 350 ohms. The strain gauges are pasted on the spring steel sheet of the robot arm and named as strain gauge 1 to strain gauge N. When bending occurs, the resistance of the strain gauge changes, ranging from -4 to 4 ohms, and the positive and negative values depend on the bending direction. During implementation, the side with increased resistance when bending is uniformly selected and pasted to the elastic sheet.
[0107] Data acquisition measurement circuit such as Figure 6 As shown in the figure, a 12-channel strain measurement module is used to read the strain gauge resistance of the sensor. The HX710A analog / digital (AD) converter chip is used to convert the analog resistance signal of the strain gauge into a digital signal, and the analog resistance signal of strain gauge 1 to strain gauge N is converted into digital signals AD-1 to AD-N. HX710A has 24-bit accuracy and can measure small resistance changes. The STC-8H8K64U microcontroller is selected as the main control chip. The RS485 protocol is used as the serial port communication to connect to the computer. Due to the large number of channels, FPC (flexible printed circuit) cable is used as the middle cable connection to reduce the weight of the system. The precise control of the robot arm is achieved through the collected data of each sensor.
[0108] Any process or method description in the flowchart of the present invention or described in other ways herein can be understood as a module, segment or part of a code including one or more executable instructions for implementing the steps of a specific logical function or process, which can be implemented in any computer-readable medium for use by an instruction execution system, device or equipment, and the computer-readable medium can be any medium containing storage, communication, propagation or transmission programs for use by execution systems, devices or equipment, including read-only memories, magnetic disks or optical disks, etc.
[0109] In the description of this specification, the description with reference to the terms "embodiment", "example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art can combine or combine different embodiments or examples described in this specification and the features therein without causing any contradiction.
[0110] Although the above content has shown and described the embodiments of the present invention, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present invention. Ordinary technicians in the field can change, modify, replace, modify and other update operations on the above embodiments within the scope of the present invention.
Claims
1. A control method for a robotic arm for multi-point measurement based on a distributed flexible sensor, characterized in that: The control method comprises the following steps: S1. Arrange flexible sensors on the robotic arm to form a distributed sensor array; S2. Use the sensor to measure the local strain, collect the sensor signal, amplify the weak signal through the signal amplifier, convert the analog signal into a digital signal through the converter and send it to the sensor signal processing module; S3. The sensor signal processing module designs a morphological inversion algorithm based on the specific structure and mechanical characteristics of the robot arm, reconstructs the overall configuration of the robot arm, reconstructs the robot arm morphology algorithm based on the sensor signal, calculates the spatial three-dimensional coordinates of the pre-selected feature points on the robot arm, and inputs them into the control computer; S4. The control computer plans the next movement strategy according to the set target and current form of the robot arm, gives the corresponding control signal, and drives the robot arm to move; S5. The robot arm moves in a controlled manner according to a predetermined posture, causing local strain in the structure. The sensor collects these strain signals, monitors the motion state, and completes the entire closed-loop control process; In step S3, the algorithm for reconstructing the shape of the robotic arm according to the sensor signal is as follows: S3.
1. Obtain the distance between the corresponding sides of two adjacent boxes according to the voltage value measured by the sensor; S3.
2. Measure the distance between each corresponding edge of adjacent quadrilateral elements , the relative position relationship of the two boxes is obtained according to the four distance values; S3.3, superimpose all the quadrilateral boxes to reconstruct the shape of the entire arm; Wherein, step S3.2 includes: S3.2.1 Calculate the plane normal vector of the previous square. Suppose the four vertices of the square are A, B, C, and D. Then the plane normal vector is: ; S3.2.
2. The four distance values measured are , define the average distance: , S3.2.
3. The center point of the previous square is , the center point of the next new square It is expressed as: S3.2.
4. Calculate the angle of the first rotation: ,in , L is the side length of the square box; S3.2.
5. Define the rotation axis 1 as passing through the two midpoints of the square frame The straight line, It is the first vertex of the square. and Vertex 4 The midpoint of It is the second vertex of the square. and Vertex 3 Midpoint: , According to the rotation center, rotation axis, rotation angle Perform a rotation; S3.2.
6. The parameters of the second rotation are , is the midpoint between vertices 1 and 2 of the square. is the midpoint between vertices 3 and 4 of the square. is the angle of the second rotation.
2. The control method according to claim 1, characterized in that: In step S3.1, a sensor is pasted on the spring sheet unit of the robot arm, and the voltage value V of the sensor is converted into a distance L; the voltage value V is recorded, and the distance L between the corresponding sides of two adjacent boxes is measured to obtain the corresponding VL mapping relationship, and then function fitting is performed.
3. The control method according to claim 1, characterized in that: In step S3.2.5, in three-dimensional space, other points are rotated with the straight line passing through two given points as the rotation axis.
4. The control method according to claim 1, characterized in that: Step S3.2.5 specifically includes: Step S3.2.5 includes the following steps to implement: 1) calculate the direction vector of the rotation axis; 2) move the rotation axis to the origin; 3) calculate the transformation matrix rotating around the origin; 4) apply the rotation transformation; 5) move the rotation axis and point back to the original position.
5. A robotic arm implementing the control method according to any one of claims 1 to 4, characterized in that: The robotic arm is a foldable robotic arm, and the robotic arm includes a left fixed seat, multiple folding units and an end camera, wherein the folding unit includes a square frame, adjacent square frames are connected by a plurality of elastic sheets, and the elastic sheets of adjacent square frames are connected by hinges, each square frame is provided with a rope threading hole, and a control rope is arranged in the rope threading hole, and the movement of the robotic arm is controlled by retracting and relaxing the control rope; a camera is installed at the end of the robotic arm; a sensor array composed of multiple sensors is arranged on the robotic arm to realize distributed flexible sensors, and multi-point measurement is performed by multiple sensors to realize the movement control of the robotic arm.
6. The mechanical arm according to claim 5, characterized in that: The sensor is arranged on the inner surface of the elastic sheet; a signal line is arranged inside the mechanical arm for connecting the sensor and the signal processing module.
7. The robotic arm according to claim 6, characterized in that: The sensor is a flexible sensor, using a resistance strain gauge, including two layers of upper and lower flexible substrate materials and a strain gauge wire grid sandwiched in the middle, wherein the strain gauge wire grid is wound into a grid shape by constantan wire or nickel-chromium wire, or corroded into a grid shape by metal foil; the silver-plated copper wire of the resistance sheet lead is connected to the strain gauge wire grid; the flexible substrate material is made of phenolic-epoxy resin or polyimide material; the flexible sensor is pasted on the inner surface of the elastic sheet.
8. The robotic arm according to claim 5, characterized in that: The elastic sheet is made of spring steel sheet or elastic composite material.
