A closed-loop control method for gripping force of flexible pneumatic grippers
By designing a double closed-loop controller on the flexible pneumatic gripper and using incremental and positional PID controllers, the gripping force closed-loop control of the flexible pneumatic gripper is realized, solving the problems of slow response speed and complex control variables, ensuring It provides non-destructive processing during the automated picking and packaging process of fruits.
Patent Information
- Application Number
- CN202410119330.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-29
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-01-29
AI Technical Summary
Due to the slow response speed and complex control variables of flexible pneumatic grippers during the process of grabbing fruits, it is difficult to achieve closed-loop control of the grasping force, resulting in problems such as fruit damage, early bruising or slipping, which affects the value of the product.
Using a robot grasping system, combined with pressure sensors, air pumps and computers, a double closed-loop controller is designed, using an incremental PID controller with a dead zone and a positional PID controller to achieve flexibility by collecting and processing grasping force signals in real time. Closed-loop control of the gripping force of the pneumatic gripper.
It achieves real-time, robust and stable control of the flexible pneumatic gripper, effectively preventing fruit damage and slippage and ensuring non-destructive processing of automated loading and packaging processes.
Smart Images

Figure CN117863184B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of agricultural engineering, and in particular relates to a closed-loop control method of gripping force suitable for flexible pneumatic grippers. Background Art
[0002] More and more fruits need to be processed for commercialization after harvest. The loading and packaging stages require frequent manual "grabbing and placing" operations, and the use of robots for automated grabbing operations is imperative.
[0003] In response to this problem, some scholars use rigid electric grippers to achieve the control of grasping force by taking advantage of their fast response speed and few control variables. However, the rigid grippers have a small contact area with the fruit and insufficient compliance, which can easily cause damage or early bruising of the fruit. Some scholars also use the flexible pneumatic grippers with strong compliance and large contact area with the object to achieve low-loss grasping of the fruit. However, since the flexible pneumatic grippers belong to multivariate nonlinear systems, they have problems such as slow response speed and complex control variables. Therefore, the closed-loop control of their grasping force has always been an unresolved problem. In the process of the robot grasping the fruit, excessive grasping force will cause damage or early bruising of the fruit, affecting the later commodity value; too small grasping force will cause the fruit to slip in the robot, resulting in falling, etc. Therefore, it is very necessary to develop a closed-loop control method for the grasping force of the flexible pneumatic grippers. Summary of the invention
[0004] In view of the problems in the background technology, the purpose of the present invention is to provide a closed-loop control method of gripping force suitable for flexible pneumatic grippers, which is used for automated gripping of fragile fruits and realizes automated and lossless processing of fruit packaging, loading and other processes.
[0005] The technical solution adopted by the present invention is as follows:
[0006] The method adopts a robot grasping system, which includes a pressure sensor, a flexible pneumatic gripper, an air pump, a mechanical arm and a computer. The flexible pneumatic gripper is installed at the end of the mechanical arm, the pressure sensor and the air pump are both arranged on the flexible pneumatic gripper, and the pressure sensor and the air pump are both electrically connected to the computer. The pressure sensor is used to measure the grasping force value of the flexible pneumatic gripper, and the air pump is used to provide driving force for the flexible pneumatic gripper.
[0007] The method comprises the following steps:
[0008] Step S1, first use a pressure sensor, a flexible pneumatic gripper and an air pump to build a robot grasping system;
[0009] Step S2: Next, use a texture analyzer to apply pressure to the pressure sensor, calibrate the pressure sensor to determine the gain and offset of the pressure sensor, and obtain a linear correspondence between the gripping force of the gripper and the output voltage of the pressure sensor according to the gain and offset;
[0010] Step S3, using an incremental PID controller with a dead zone as the control outer loop of the double closed-loop controller, and controlling the gripping force of the flexible pneumatic gripper by controlling the outer loop;
[0011] Step S4, using a position PID controller as the inner control loop of the double closed-loop controller, and further adjusting the air pressure of the air pump according to the output value of the outer control loop, thereby adjusting the gripping force of the gripper;
[0012] Step S5, repeating steps S3 to S4, thereby achieving precise control of the gripping force of the clamp at different times.
[0013] The step S3 is specifically as follows:
[0014] Step S31, using a computer to collect the output voltage signal of the pressure sensor in real time, and obtaining a real-time gripping force signal of the gripper through the linear correspondence between the gripping force and the output voltage;
[0015] Step S32: Using the Kalman filter method, the noise component in the gripping force signal of the gripper is filtered out to obtain a predicted gripping force signal;
[0016] Step S33, design an incremental PID controller with a dead zone, make a difference between the predicted gripping force and the expected gripping force, and use the difference as the input of the incremental PID controller to output the compensation amount of the air pump air pressure, and control the pressure output by the air pump to the gripper through the compensation amount of the air pump air pressure.
[0017] The step S32 specifically includes the following steps:
[0018] Step S3201: First, the actual value of the gripping force signal of the gripper at time k is taken as the gripping force measurement value at time k. Then use the state transfer matrix and the grasping force measurement value at the previous moment Get the prior state of the grasping force at the current moment
[0019]
[0020] Where A represents the state transfer matrix of the robot grasping system;
[0021] Step S3202: Next, the prior error covariance matrix P at the current moment is obtained by processing the state transfer matrix according to the following formula: - (k);
[0022] P - (k) = AP(k-1)A T +Q
[0023] Among them, P(k-1) represents the error covariance matrix of the previous moment, and Q represents the process noise covariance matrix;
[0024] Step S3203: The Kalman gain is obtained by processing the prior error covariance matrix according to the following formula. The expression of the Kalman gain K(k) at the current moment is as follows:
[0025] K(k)=P - (k)H T (HP - (k)H T +R) -1
[0026] Among them, H represents the observation matrix of the robot grasping system, and R represents the observation noise covariance matrix of the robot grasping system;
[0027] Step S3204: Based on the prior state of the grasping force at the current moment obtained in step S3201, the predicted value of the grasping force at the current moment is obtained by processing according to the following formula:
[0028]
[0029] in, represents the grasping force measurement value at the current moment;
[0030] Step S3205: Update the error covariance matrix at the current moment according to the prior error covariance matrix, Kalman gain and observation matrix. The update formula of the error covariance matrix P(k) is as follows:
[0031] P(k)=P - (k)-K(k)HP - (k)
[0032] Step S3206: Repeat steps S3201 to S3205 multiple times to obtain the predicted values of the gripping force at different times.
[0033] The step S33 specifically includes the following steps:
[0034] Step S3301, first, define an incremental PID controller with dead zone in the computer;
[0035] Step S3302: Next, the difference between the expected grasping force and the predicted grasping force is taken as the error value e f(k):
[0036]
[0037] Among them, F d represents the preset expected grasping force;
[0038] Step S3303: Using the dead zone of the incremental PID controller, calculate the error value e according to the following formula: f (k) carry out updates;
[0039]
[0040] Among them, E0 represents the range of the control dead zone of the incremental PID controller;
[0041] Step S3304: input the updated error value into the incremental PID controller, and output the compensation amount of the air pump air pressure, the compensation amount of the air pump air pressure Δp d The expression of (k) is as follows:
[0042]
[0043] in, and Respectively represent the coefficients of the proportional term, integral term, and differential term of the incremental PID controller;
[0044] Step S3305: Using the compensation amount Δp of air pressure d (k) Adjust the output pressure of the air pump. The change in the air pump pressure at time k is equal to the compensation amount of air pressure Δp d (k).
[0045] The step S4 is specifically as follows:
[0046] Step S41: First, a position PID controller is set in the computer, and the air pressure setting value p of the air pump at time k is obtained according to the following formula: d (k):
[0047]
[0048] Among them, p d (0) is the initial value of the air pressure of the air pump;
[0049] Step S42: Next, obtain the difference between the air pump air pressure measurement value at the current moment and the pressure setting value. p (k):
[0050] e p (k) = p d (k)-p(k)
[0051] Where p(k) is the actual measured value of the air pressure of the air pump at time k;
[0052] Step S43: The difference value e obtained in step S42 is p (k) Input the position PID controller and use the output of the position PID controller to set the air pressure of the air pump to the value p d (k) is updated, and the update formula is as follows:
[0053]
[0054] in, and They are the coefficients of the proportional term, integral term, and differential term of the position PID controller respectively.
[0055] Step S44: Use the updated air pump air pressure setting value p d (k) Adjust the output pressure of the air pump.
[0056] The pressure sensor is the RX-M0404S sensor produced by Rouxi Electronic Technology Co., Ltd.
[0057] The two-finger flexible pneumatic gripper adopts the F-A5T / LF1[H] gripper produced by Soft Touch Robotics Technology Co., Ltd.;
[0058] The air pump is the ACU2-H air pump produced by Soft Touch Robotics Technology Co., Ltd.
[0059] In response to the above problems, the present invention uses a two-finger flexible pneumatic gripper, a matrix thin film pressure sensor based on the piezoresistive principle, and an air pump to build a basic control system, and proposes a robust and stable closed-loop control method for the grasping force of the flexible pneumatic gripper, which is used for grasping force control in the process of automated feeding and packaging of fragile fruits, thereby achieving non-destructive grasping of fruits.
[0060] The traditional flexible pneumatic gripper is a nonlinear, multivariable, high response delay system, which makes it difficult to achieve closed-loop control of the gripping force. The innovation of the present invention is to use a piezoresistive pressure sensor to obtain the gripping force signal, propose and design a dual closed-loop controller, and perform real-time control of the gripping force of the flexible pneumatic gripper.
[0061] The method of the present invention attaches a matrix flexible film pressure sensor to the end of a flexible pneumatic gripper to obtain a voltage signal of the pressure sensor; after sensor calibration and Kalman filtering steps, the gripping force and distribution of the gripper are obtained; next, the error between the average gripping force and the expected gripping force is calculated as the input of the controller; a gripping force double closed-loop controller is designed, wherein the outer loop is an incremental PID gripping force controller with a dead zone, and the inner loop is a position PID air pump air pressure controller; the above force sensing, processing, and control processes are cycled to achieve closed-loop control of the gripping force of the flexible pneumatic gripper. The present invention provides a method for closed-loop control of the gripping force of a flexible pneumatic gripper, which can be used for robot automated gripping of flexible, fragile, and deformable agricultural products or foods, effectively preventing damage, early bruises, etc. caused during the gripping process, and is expected to be practically applied in agricultural products or food processing production lines.
[0062] The present invention has the following beneficial effects:
[0063] 1. The present invention can realize real-time, robust and stable control of the grasping force of the flexible pneumatic gripper through the proposed double closed-loop grasping force controller.
[0064] 2. The closed-loop control of the gripping force of the flexible pneumatic gripper by the method of the present invention can effectively solve the problems of fruit damage, early bruising, slippage, and falling caused by the open-loop control of the flexible pneumatic gripper, and is helpful to realize the automated loading and packaging of fragile fruits.
[0065] 3. Compared with the flexible pneumatic grippers controlled by other methods, the control method proposed by the present invention can realize closed-loop control of the grasping force, and has the advantages of real-time, robustness and stability. It can be used for grasping fragile fruits in post-harvest commercial processing factories of agricultural products, such as feeding and packaging, and effectively reduce the damage to fruits caused by robot grasping and operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a block diagram of the closed-loop control method of the present invention;
[0067] Figure 2 The result diagram for visualizing the matrix grasping force;
[0068] Figure 3 is the grasping force control result diagram after using this method (including the expected value and actual measured value of the grasping force);
[0069] Figure 4 This is the grasping force control result diagram of the control system after being disturbed using this method. DETAILED DESCRIPTION
[0070] The present invention is described in detail below in conjunction with specific implementation cases. The following implementation cases will help those skilled in the art to further understand the present invention, but will not limit the present invention in any form.
[0071] The method of the present invention adopts a robot grasping system, which includes a piezoresistive film pressure sensor, a flexible pneumatic gripper, an air pump, a mechanical arm and a computer. The flexible pneumatic gripper is installed at the end of the mechanical arm, the pressure sensor and the air pump are both arranged on the flexible pneumatic gripper, and the pressure sensor and the air pump are both electrically connected to the computer. The pressure sensor is used to measure the grasping force value of the flexible pneumatic gripper, and the air pump is used to provide driving force for the flexible pneumatic gripper.
[0072] The method comprises the following steps:
[0073] Step S1, first use a pressure sensor, a flexible pneumatic gripper and an air pump to build a robot grasping system;
[0074] Step S2: Next, use a texture analyzer to apply pressure to the pressure sensor, calibrate the pressure sensor to determine the gain and offset of the pressure sensor, and obtain a linear correspondence between the gripping force of the gripper and the output voltage of the pressure sensor according to the gain and offset;
[0075] In a specific implementation, the pressure sensor is connected to the computer through a resistance-voltage conversion circuit. The pressure sensor is calibrated as follows: a texture analyzer is used to apply pressure to the pressure sensor. Based on the piezoresistance principle, the resistance value of the pressure sensor is inversely proportional to the applied pressure, so the resistance value of the pressure sensor can be obtained; the resistance-voltage conversion circuit converts the resistance value of the pressure sensor into a corresponding voltage analog quantity, and then converts the voltage analog quantity into a voltage digital quantity, and outputs it to the computer. Finally, according to the voltage digital quantity collected by the computer and the applied pressure of the texture analyzer, a corresponding relationship curve between the applied pressure (gripper gripping force) and the voltage value is obtained.
[0076] The dual closed-loop controller mainly includes two PID controllers;
[0077] Step S3, using an incremental PID controller with a dead zone as the control outer loop of the double closed-loop controller, and controlling the gripping force of the flexible pneumatic gripper by controlling the outer loop;
[0078] Step S4, using a position PID controller as the inner control loop of the double closed-loop controller, and further adjusting the air pressure of the air pump according to the output value of the outer control loop, thereby adjusting the gripping force of the gripper;
[0079] Step S5, repeating steps S3 to S4, thereby achieving precise control of the gripping force of the gripper at different times, and achieving real-time, robust and stable control of the gripping force of the flexible pneumatic gripper.
[0080] In the specific implementation, step S3 is specifically as follows:
[0081] Step S31, using a computer to collect the output voltage signal of the pressure sensor in real time, and obtaining a real-time gripping force signal of the gripper through the linear correspondence between the gripping force and the output voltage;
[0082] Step S32: Using the Kalman filter method, the noise component in the gripping force signal of the gripper is filtered out to obtain a predicted gripping force signal;
[0083] In the specific implementation, first calculate the grasping force measurement value at time k The Kalman filter algorithm is used to calculate the force and filter out the noise components in the grasping feedback signal to obtain the grasping force prediction value.
[0084] Step S33, design an incremental PID controller with a dead zone, make a difference between the predicted gripping force and the expected gripping force, and use the difference as the input of the incremental PID controller to output the compensation amount of the air pump air pressure, and control the pressure output by the air pump to the gripper through the compensation amount of the air pump air pressure.
[0085] Step S32 specifically includes the following steps:
[0086] Step S3201: First, the actual value of the gripping force signal of the gripper at time k is taken as the gripping force measurement value at time k. Then use the preset state transfer matrix and the grasping force measurement value of the previous moment Get the prior state of the grasping force at the current moment
[0087]
[0088] Among them, A represents the state transfer matrix of the robot grasping system, and the initial value of the grasping force prediction value is set to 1;
[0089] Step S3202: Next, the prior error covariance matrix P at the current moment is obtained by processing the state transfer matrix according to the following formula: - (k);
[0090] P - (k) = AP(k-1)A T +Q
[0091] Among them, P(k-1) represents the error covariance matrix of the previous moment, and Q represents the process noise covariance matrix;
[0092] Step S3203: The Kalman gain is obtained by processing the prior error covariance matrix according to the following formula. The expression of the Kalman gain K(k) at the current moment is as follows:
[0093] K(k)=P - (k)H T (HP - (k)H T +R) -1
[0094] Among them, H represents the observation matrix of the robot grasping system, and R represents the observation noise covariance matrix of the robot grasping system;
[0095] Step S3204: Based on the prior state of the grasping force at the current moment obtained in step S3201, the predicted value of the grasping force at the current moment is obtained by processing according to the following formula:
[0096]
[0097] in, represents the grasping force measurement value at the current moment;
[0098] In the specific implementation, the predicted value of the grasping force at each moment Constitutes the predicted grasping force signal.
[0099] Step S3205: Update the error covariance matrix at the current moment according to the prior error covariance matrix, Kalman gain and observation matrix. The update formula of the error covariance matrix P(k) is as follows:
[0100] P(k)=P - (k)-K(k)HP - (k)
[0101] Step S3206: Repeat steps S3201 to S3205 multiple times to implement Kalman filtering of the grasping force measurement value, and then obtain the grasping force prediction value at different times.
[0102] Step S33 specifically includes the following steps:
[0103] Step S3301, first, define an incremental PID controller with dead zone in the computer;
[0104] Step S3302: Next, the difference between the expected grasping force and the predicted grasping force is taken as the error value e at the current moment. f (k):
[0105]
[0106] Among them, F d It indicates the preset expected grasping force, which is the grasping force preset by the computer;
[0107] Step S3303: Using the dead zone of the incremental PID controller, calculate the error value e according to the following formula: f (k) carry out updates;
[0108]
[0109] Among them, E0 represents the range of the control dead zone of the incremental PID controller;
[0110] In view of the high latency characteristics of the robot grasping system (pneumatic control system) of the present invention, the following dead zone is additionally added to the PID controller to prevent system oscillation and non-convergence.
[0111] Step S3304: input the updated error value into the incremental PID controller, and output the compensation amount of the air pump air pressure, the compensation amount of the air pump air pressure Δp d The expression of (k) is as follows:
[0112]
[0113] in, and Respectively represent the coefficients of the proportional term, integral term, and differential term of the incremental PID controller;
[0114] Step S3305: Using the compensation amount Δp of air pressure d (k) Adjust the output pressure of the air pump. The change in the air pump pressure at time k is equal to the compensation amount of air pressure Δp d (k).
[0115] The outer loop, i.e. the control of the grasping force, can be realized by executing the above controller integrated with Kalman filter in a loop.
[0116] Step S4 in the embodiment is specifically as follows:
[0117] Step S41: To ensure the accuracy and robustness of the system, an inner loop controller is designed to perform closed-loop control on the air pressure of the air pump. First, a position PID controller is set in the computer, and the air pressure setting value p of the air pump at time k is obtained according to the following formula: d (k):
[0118]
[0119] Among them, p d (0) is the initial value of the air pressure of the air pump;
[0120] Step S42: Next, obtain the difference between the air pump air pressure measurement value at the current moment and the pressure setting value. p (k), as the input of the inner loop controller:
[0121] e p (k) = p d (k)-p(k)
[0122] Where p(k) is the actual measured value of the air pressure of the air pump at time k;
[0123] Since the air between the air pump and the gripper is connected, an air pressure sensor is provided in the air pump. The air pressure collected by the air pressure sensor in real time is the gripper air pressure, which is the actual measured value p(k) of the air pressure.
[0124] Step S43: The difference value e obtained in step S42 is p (k) Input the position PID controller and use the output of the position PID controller to set the air pressure of the air pump to the value p d (k) is updated, and the update formula is as follows:
[0125]
[0126] in, and They are the coefficients of the proportional term, integral term and differential term of the position PID controller respectively. By embedding the above control process into the grasping force controller (outer loop) and executing it in a cycle in sequence, the accuracy and robustness of the control system can be guaranteed, and real-time and stable control of the grasping force can be achieved.
[0127] Step S44: Use the updated air pump air pressure setting value p d (k) Adjust the output pressure of the air pump to p d (k).
[0128] The method of the present invention adopts a piezoresistive film pressure sensor to obtain a matrix grasping force feedback signal, designs a double closed-loop PID controller, calculates the error between the actual grasping force and the expected grasping force in real time, and controls the pressure of the air pump for adjustment, thereby realizing real-time closed-loop control of the grasping force of the flexible pneumatic gripper.
[0129] The hardware device of the present invention includes: an RX-M0404S matrix pressure sensor based on the piezoresistive principle, a set of F-A5T / LF1[H] two-finger flexible pneumatic grippers, and an ACU2-H air pump. Since the flexible pneumatic grippers belong to a multivariate nonlinear system, there are problems such as slow response speed and complex control variables. Therefore, most of the control methods are open-loop control based on the air pressure of the air pump. There is no closed-loop control method for the gripping force of the flexible pneumatic grippers. In view of this problem, the present invention proposes a method for force feedback and closed-loop control of the gripping force of the flexible pneumatic grippers.
[0130] On the basis of the above-mentioned flexible pneumatic gripper gripping force control system, the pressure sensor is first calibrated using a texture analyzer to obtain a linear relationship between the output voltage and the gripping force. Next, the gripping force signal processed by the Kalman filter is compared with the expected gripping force to obtain the gripping force error, which is then input into the designed incremental PID controller with dead zone to achieve outer-loop gripping force control in the dual closed-loop control. Next, based on the error between the air pressure sensor in the air pump and the set value, the designed position PID controller is input to achieve inner-loop air pump air pressure control in the dual closed-loop control. The above control process is looped to achieve real-time, robust, and stable control of the gripping force of the flexible pneumatic gripper.
[0131] like Figure 1 As shown, the method of the present invention includes three steps: 1) system construction and sensor calibration, 2) outer ring grasping force control, 3) inner ring air pump air pressure control, wherein:
[0132] 1) System construction and sensor calibration:
[0133] The two-finger flexible pneumatic gripper is installed at the end of the robot arm, and the pressure sensor and air pump are connected to the computer. The pressure sensor reads the voltage value after analog-to-digital conversion through serial communication, and the air pump and the computer communicate and control through the MODBUS RTU 485 protocol. Based on the piezoresistive principle, the resistance value of the pressure sensor is inversely proportional to the applied pressure, which can be expressed as follows:
[0134]
[0135] Where R = [R1, R2, …, R 16 ] is the resistance value of the four-row and four-column sensing units in the pressure sensor, F=[F1, F2, …, F 16 ] is the pressure value applied to each sensing unit.
[0136] Next, through the resistance-voltage conversion circuit, the voltage analog quantity U of the pressure sensor can be obtained:
[0137]
[0138] Among them, V CC is the open circuit voltage of the resistance-to-voltage conversion circuit, R M is the feedback resistor.
[0139] Based on the above principle, there is a linear relationship between the output voltage U of the pressure sensor and the applied pressure F, which can be expressed as follows.
[0140] F=a×ADC 16 (U)+b
[0141] Among them, ADC 16 (U) represents the 16-bit analog-to-digital conversion of the voltage analog quantity U, a and b represent gain and offset respectively. By applying a standard force to the texture analyzer, the gain and offset can be solved to obtain the relationship between the output voltage and the gripping force (applied pressure).
[0142] 2) Outer ring gripping force control,
[0143] An incremental PID controller with dead zone is used as the outer control loop of the double closed-loop controller, and the gripping force of the flexible pneumatic gripper is controlled by controlling the outer control loop.
[0144] 3) Inner ring air pump air pressure control
[0145] A position PID controller is used as the inner control loop of the double closed-loop controller. According to the output value of the outer control loop, the air pressure of the air pump is further adjusted to adjust the gripping force of the gripper.
[0146] The visualization results of the grasping force size and distribution information of the grasping force closed-loop control system built by the method of the present invention are as follows: Figure 2 The control effect of the dual closed-loop controller proposed by the present invention and the tracking effect of the desired grasping force are shown in Figure 3 The control effect of the control system using the method proposed by the present invention on external disturbances is shown in Figure 4 As shown. Figure 3 and Figure 4 It can be seen that the method proposed in the present invention can realize the closed-loop control of the grasping force of the flexible pneumatic gripper, complete the grasping of the object according to the set expected grasping force, and the control system can work normally in the presence of external disturbances.
[0147] Therefore, the present invention provides an ingenious method for closed-loop, real-time, stable and robust control of the grasping force of flexible pneumatic grippers, which can be used for low-loss grasping, loading and packaging of fragile fruits, and realizes the automation, unmanned and robotized post-harvest commercial processing of agricultural products.
[0148] The above is only a preferred embodiment of the present invention. It should be pointed out that improvements and refinements can be made without departing from the working principle of the present invention. These improvements and refinements should also be regarded as the protection scope of the present invention.
Claims
1. A closed-loop control method for gripping force of a flexible pneumatic gripper, characterized in that: The method adopts a robot grasping system, which includes a pressure sensor, a flexible pneumatic gripper, an air pump, a mechanical arm and a computer. The flexible pneumatic gripper is installed at the end of the mechanical arm, the pressure sensor and the air pump are both arranged on the flexible pneumatic gripper, and the pressure sensor and the air pump are both electrically connected to the computer. The pressure sensor is used to measure the grasping force value of the flexible pneumatic gripper, and the air pump is used to provide driving force for the flexible pneumatic gripper. The method comprises the following steps: Step S1, first use a pressure sensor, a flexible pneumatic gripper and an air pump to build a robot grasping system; Step S2: Next, use a texture analyzer to apply pressure to the pressure sensor, calibrate the pressure sensor to determine the gain and offset of the pressure sensor, and obtain a linear correspondence between the gripping force of the gripper and the output voltage of the pressure sensor according to the gain and offset; Step S3, using an incremental PID controller with a dead zone as the control outer loop of the double closed-loop controller, and controlling the gripping force of the flexible pneumatic gripper by controlling the outer loop; The step S3 is specifically as follows: Step S31, using a computer to collect the output voltage signal of the pressure sensor in real time, and obtaining a real-time gripping force signal of the gripper through the linear correspondence between the gripping force and the output voltage; Step S32: Using the Kalman filter method, the noise component in the gripping force signal of the gripper is filtered out to obtain a predicted gripping force signal; Step S33, designing an incremental PID controller with a dead zone, subtracting the predicted gripping force from the expected gripping force, and using the difference as the input of the incremental PID controller, outputting a compensation amount of the air pump air pressure, and controlling the pressure output by the air pump to the gripper through the compensation amount of the air pump air pressure; The step S33 specifically includes the following steps: Step S3301, first, define an incremental PID controller with dead zone in the computer; Step S3302: Next, the difference between the expected grasping force and the predicted grasping force is taken as the error value e f (k): Among them, F d represents the preset expected grasping force; Step S3303: Using the dead zone of the incremental PID controller, calculate the error value e according to the following formula: f (k) carry out updates; Among them, E0 represents the range of the control dead zone of the incremental PID controller; Step S3304: input the updated error value into the incremental PID controller, and output the compensation amount of the air pump air pressure, the compensation amount of the air pump air pressure Δp d The expression of (k) is as follows: in, and Respectively represent the coefficients of the proportional term, integral term, and differential term of the incremental PID controller; Step S3305: Using the compensation amount Δp of air pressure d (k) Adjust the output pressure of the air pump. The change in the air pump pressure at the current moment is equal to the compensation amount of air pressure Δp d (k); Step S4, using a position PID controller as the inner control loop of the double closed-loop controller, and further adjusting the air pressure of the air pump according to the output value of the outer control loop, thereby adjusting the gripping force of the gripper; Step S5, repeating steps S3 to S4, thereby achieving control of the gripping force of the clamp at different times.
2. A closed-loop control method for gripping force of a flexible pneumatic gripper according to claim 1, characterized in that: The step S32 specifically includes the following steps: Step S3201: First, the actual value of the gripping force signal of the gripper at the current time k is used as the gripping force measurement value at the current time k. Then use the state transfer matrix and the grasping force prediction value of the previous moment Get the prior state of the grasping force at the current moment Where A represents the state transfer matrix of the robot grasping system; Step S3202: Next, the prior error covariance matrix P at the current moment is obtained by processing the state transfer matrix according to the following formula: - (k); P - (k)=AP(k-1)A T +Q Among them, P(k-1) represents the error covariance matrix of the previous moment, and Q represents the process noise covariance matrix; Step S3203: The Kalman gain is obtained by processing the prior error covariance matrix according to the following formula. The expression of the Kalman gain K(k) at the current moment is as follows: K(k)=P - (k)H T (HP - (k)H T +R) -1 Among them, H represents the observation matrix of the robot grasping system, and R represents the observation noise covariance matrix of the robot grasping system; Step S3204: Based on the prior state of the grasping force at the current moment obtained in step S3201, the predicted value of the grasping force at the current moment is obtained by processing according to the following formula: Step S3205: Update the error covariance matrix at the current moment according to the prior error covariance matrix, Kalman gain and observation matrix. The update formula of the error covariance matrix P(k) is as follows: P(k)=P - (k)-K(k)HP - (k) Step S3206, repeat steps S3201 to S3205 multiple times to obtain the predicted values of the grasping force at different times.
3. The closed-loop control method for gripping force of a flexible pneumatic gripper according to claim 1, characterized in that: The step S4 is specifically as follows: Step S41: First, a position PID controller is set in the computer, and the air pressure setting value p of the air pump at time k is obtained according to the following formula: d (k): Among them, p d (0) is the initial value of the air pressure of the air pump; Step S42: Next, obtain the difference between the air pump air pressure measurement value at the current moment and the pressure setting value. p (k): e p (k)=p d (k)-p(k) Where p(k) is the actual measured value of the air pressure of the air pump at time k; Step S43: The difference value e obtained in step S42 is p (k) Input the position PID controller and use the output of the position PID controller to set the air pressure of the air pump to the value p d (k) is updated, and the update formula is as follows: in, and They are the coefficients of the proportional term, integral term, and differential term of the position PID controller respectively; Step S44: Use the updated air pump air pressure setting value p d (k) Adjust the output pressure of the air pump.
