CN114019892A - A PLC-based pneumatic compliance device control system and method - Google Patents

A PLC-based pneumatic compliance device control system and method Download PDF

Info

Publication number
CN114019892A
CN114019892A CN202111233509.7A CN202111233509A CN114019892A CN 114019892 A CN114019892 A CN 114019892A CN 202111233509 A CN202111233509 A CN 202111233509A CN 114019892 A CN114019892 A CN 114019892A
Authority
CN
China
Prior art keywords
cylinder
end tool
force
output force
plc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111233509.7A
Other languages
Chinese (zh)
Other versions
CN114019892B (en
Inventor
周俊成
周志勇
牛凡
张迪
邓耀超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Dianji University
Original Assignee
Shanghai Dianji University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Dianji University filed Critical Shanghai Dianji University
Priority to CN202111233509.7A priority Critical patent/CN114019892B/en
Publication of CN114019892A publication Critical patent/CN114019892A/en
Application granted granted Critical
Publication of CN114019892B publication Critical patent/CN114019892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Automatic Control Of Machine Tools (AREA)
  • Constituent Portions Of Griding Lathes, Driving, Sensing And Control (AREA)

Abstract

本发明涉及一种基于PLC的气动柔顺装置控制系统及方法,该系统包括气缸,气缸的活塞杆通过导轨与末端工具连接,系统还包括用于测量末端工具与加工面上的压紧力的压力传感器、用于测量导轨位移的位移传感器、用于测量气缸活塞杆位姿的位姿传感器以及用于控制气缸的控制阀的PLC控制器;将导轨和末端工具作为负载,末端工具作用于加工面之前,对负载进行自动称重,末端工具作用于加工面之后,PLC控制器实时采集末端工具与加工面上的实际压紧力、导轨位移和气缸活塞杆位姿,基于负载重力对气缸输出力进行补偿并精确控制末端工具与加工面上的压紧力使其保持恒定。与现有技术相比,本发明输出力控制精度高、气动柔顺装置的可靠性高。

Figure 202111233509

The invention relates to a PLC-based pneumatic compliance device control system and method. The system includes a cylinder, the piston rod of the cylinder is connected with an end tool through a guide rail, and the system also includes a pressure for measuring the pressing force between the end tool and the machining surface. Sensors, displacement sensors for measuring the displacement of the guide rails, pose sensors for measuring the pose of the cylinder piston rod, and PLC controller for controlling the control valve of the cylinder; the guide rail and the end tool are used as loads, and the end tool acts on the machined surface Before, the load is automatically weighed, and after the end tool acts on the processing surface, the PLC controller collects the actual pressing force, guide rail displacement and cylinder piston rod position on the end tool and the processing surface in real time, and outputs the force to the cylinder based on the load gravity. Compensate and precisely control the end-tool to work surface pressing force to keep it constant. Compared with the prior art, the present invention has high output force control precision and high reliability of the pneumatic compliance device.

Figure 202111233509

Description

Pneumatic compliance device control system and method based on PLC
Technical Field
The invention relates to the technical field of pneumatic compliance control, in particular to a pneumatic compliance device control system and method based on a PLC.
Background
Currently, finish machining operations such as grinding and polishing of many parts in industry mainly depend on manual grinding by skilled workers or machining by using a grinding machine, but the machining quality of the workers is not uniform, the machining efficiency is low, the operation environment is hard, the requirement on the proficiency of the workers is high, and the machining level cannot be guaranteed; although the grinding machine has stable processing quality and high efficiency, the grinding machine can only polish one type of parts and is greatly limited, and therefore, a processing device with enough flexibility and accuracy is needed. The positioning accuracy of the robot is far higher than that of a common machine tool at present, so that the robot machining is a good alternative scheme. In order to obtain more uniform surface quality during part finish machining, the grinding force must be ensured to be constant on the premise of ensuring the stable rotating speed and feeding speed of the grinding tool, so that a pneumatic compliance device is required to control the grinding force.
Most of the grinding force control systems on the market are designed by circuit control, the control mode is complex, and faults are easy to occur when the circuit board is impacted or subjected to other physical actions due to the compliance device.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a pneumatic compliance device control system and method based on PLC.
The purpose of the invention can be realized by the following technical scheme:
a pneumatic compliance device control system based on PLC comprises an air cylinder with bidirectional output force, a piston rod of the air cylinder is connected with a terminal tool through a guide rail, the terminal tool acts on a processing surface, the system also comprises a pressure sensor for measuring pressing force between the terminal tool and the processing surface, a displacement sensor for measuring displacement of the guide rail, a pose sensor for measuring pose of the piston rod of the air cylinder and a PLC controller for controlling a control valve of the air cylinder;
the guide rail and the tail end tool are used as loads, the loads are automatically weighed before the tail end tool acts on the machining surface, after the tail end tool acts on the machining surface, the PLC acquires the actual pressing force, guide rail displacement and cylinder piston rod pose of the tail end tool and the machining surface in real time, the output force of the cylinder is compensated based on the load gravity, and the pressing force of the tail end tool and the machining surface is accurately controlled to be kept constant.
Preferably, the attitude sensor comprises an acceleration sensor for measuring the angle between the piston rod of the air cylinder and the plumb line.
A PLC-based pneumatic compliance device control method, the method of the control system, the method includes:
taking the guide rail and the tail end tool as loads, adjusting the load position, starting the air cylinder and gradually increasing the output force of the air cylinder until the displacement sensor outputs displacement, simultaneously recording the angle between the piston rod of the current air cylinder and the plumb line and the magnitude of the output force of the air cylinder, and calculating the magnitude of the load gravity based on the output force of the air cylinder and the angle between the piston rod of the current air cylinder and the plumb line;
the tail end tool acts on the machining surface, the actual pressing force, the guide rail displacement and the position and posture of a piston rod of the cylinder on the tail end tool and the machining surface are collected in real time, the set pressing force on the tail end tool and the machining surface is compared with the actual pressing force, and the output force of the cylinder is compensated for once based on load gravity to obtain a first compensation given value of the output force of the cylinder;
performing secondary compensation on the output force of the cylinder by adopting an incremental PID control algorithm based on the actual output force of the cylinder and the given value of the output force of the cylinder in the previous control period to obtain a second compensation given value of the output force of the cylinder;
and controlling the cylinder to work based on the second compensation set value of the output force of the cylinder.
Preferably, the load position is adjusted when automatically weighing the load to: the angle between the output force direction of the cylinder and the load gravity direction is 0-45 degrees.
Preferably, the cylinder output force is increased in steps of 0.1N when the load is automatically weighed.
Preferably, the specific way of compensating the output force of the cylinder once based on the load gravity comprises the following steps:
s1, acquiring a cylinder piston rod and leadThe angle of the vertical line is combined with the load gravity to calculate the acting force F of the gravity borne by the load on the piston rod of the cylinderpIf F ispThe direction is towards the processing surface, and is denoted by Fp> 0, otherwise Fp<0;
S2, acquiring actual pressing force Fr on the end tool and the machined surface in real time, and acquiring set pressing force Fs on the end tool and the machined surface;
s3, if FpIf > 0, executing step S4, otherwise executing step S5;
s4, if Fr > Fs, Fn+1,1=Fn-|FpIf not, Fn+1,1=Fn-|FpL + | Fr-Fs |/2, where FnFor a given value of the output force of the cylinder at n moments, Fn+1,1A first compensation given value of the output force of the cylinder at the moment n + 1;
s5, if Fr > Fs, Fn+1,1=Fn+|FpIf not, Fn+1,1=Fn+|FpL + | Fr-Fs |/2, where FnFor a given value of the output force of the cylinder at n moments, Fn+1,1The first compensation set value of the output force of the cylinder at the moment n + 1.
Preferably, the specific way of performing secondary compensation on the output force of the cylinder by adopting the incremental PID control algorithm is as follows:
obtaining secondary compensation value F of cylinder output force based on incremental PID control algorithmΔ
Calculating a second compensation given value of the output force of the cylinder: fn+1,2=Fn+1,1+FΔ
Preferably, F in step S1pCalculated by the following formula: fp=Fg·cosθ,FgTo load the gravity, θ is the angle of the cylinder piston rod from the vertical.
Preferably, FΔObtained by the following formula:
FΔ=Kp(F(n)-F(n-1))+KiF(n)+Kd(F(n)-2F(n-1)+F(n-2))
F(n)=FS(n)-Fr(n)
F(n-1)=FS(n-1)-Fr(n-1)
F(n-2)=FS(n-2)-Fr(n-2)
wherein, FS(n)、FS(n-1)、FS(n-2) represents the set pressing force between the end tool and the working surface at time n, time n-1, and time n-2, respectively, and Fr(n)、Fr(n-1)、Fr(n-2) represents the actual pressing force on the end tool and the processing surface at the time n, the time n-1 and the time n-2, respectively, and when n is 0, F (n-1) is 0 (n-2), and K is 0p、Ki、KdIs a PID parameter.
Preferably, Kp、Ki、KdThe values are as follows:
the value range of the set pressing force Fs on the end tool and the processing surface is (0N, 100N)]When, Kp=3.5,Ki=0.02,Kd=0;
The value range of the set pressing force Fs on the end tool and the processing surface is (100N, 200N)]When, Kp=2.5,Ki=0.02,Kd=0;
The value range of the set pressing force Fs on the end tool and the processing surface is (200N, 400N)]When, Kp=1.5,Ki=0.02,Kd=0。
Compared with the prior art, the invention has the following advantages:
(1) the PLC is arranged outside the pneumatic flexible device, so that a sensor signal can be received, the control system fault caused by the interference of the pneumatic flexible device in the movement process can be avoided, the stability and the maintainability of the PLC are fully utilized, and the reliability of the pneumatic flexible device is greatly improved;
(2) the invention adopts a scheme of PLC as distributed control, which is different from the conventional integrated circuit control, so that the volume of the device is reduced, and the mechanical impact on a control system in the using process of the device is avoided;
(3) the invention adopts the functions of automatic weighing and gravity compensation, introduces an incremental PID control algorithm and improves the precision of the output force control of the pneumatic compliance device.
Drawings
FIG. 1 is a block diagram of a PLC-based pneumatic compliance device control system according to the present invention;
FIG. 2 is a schematic diagram of the cylinder with bidirectional output force according to the present invention;
FIG. 3 is a flow chart of the present invention for automatic load weighing;
FIG. 4 is a schematic diagram of the automatic weighing of a load according to the present invention;
FIG. 5 is a flow chart of the present invention for performing cylinder accuracy force control.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. Note that the following description of the embodiments is merely a substantial example, and the present invention is not intended to be limited to the application or the use thereof, and is not limited to the following embodiments.
Examples
As shown in fig. 1, the present embodiment provides a PLC-based pneumatic compliance device control system, which includes an air cylinder having a bidirectional output force, a piston rod of the air cylinder is connected to a terminal tool through a guide rail, the terminal tool acts on a processing surface, the system further includes a pressure sensor for measuring a pressing force between the terminal tool and the processing surface, a displacement sensor for measuring a displacement of the guide rail, a pose sensor for measuring a pose of the piston rod of the air cylinder, and a PLC controller for controlling a control valve of the air cylinder, the pose sensor includes an acceleration sensor for measuring an angle between the piston rod of the air cylinder and a plumb line;
the guide rail and the tail end tool are used as loads, the loads are automatically weighed before the tail end tool acts on a machined surface, after the tail end tool acts on the machined surface, the PLC acquires the actual pressing force, guide rail displacement and cylinder piston rod pose of the tail end tool and the machined surface in real time, the output force of the cylinder is compensated based on the load gravity, and the pressing force of the tail end tool and the machined surface is accurately controlled to keep constant.
The invention adopts a double-acting cylinder, has the function of bidirectional output force, and is shown in figure 2 after simplification, wherein the direction of a piston moving from a cavity a to a cavity b is regarded as a positive direction, and the force applied to the positive direction is regarded as a positive force. The load to which the piston rod is connected, i.e. the end tool, is shown in the figure, in practice the cylinder piston rod is connected to the end tool via a guide rail, to which the end tool is fixed. The pneumatic compliance device controls the pressure in the cylinder by the electromagnetic valve, the piston rod moves by changing the pressure difference at the two ends of the piston rod of the cylinder, so that the cylinder generates certain output force, and the output force of the cylinder is transmitted to the end tool through the guide rail, so that the end tool generates certain pressing force on a processing surface.
The embodiment also provides a method for controlling the pneumatic compliance device based on the PLC, and the method comprises the following steps:
taking the guide rail and the tail end tool as loads, adjusting the load position, starting the air cylinder and gradually increasing the output force of the air cylinder until the displacement sensor outputs displacement, simultaneously recording the angle between the piston rod of the current air cylinder and the plumb line and the magnitude of the output force of the air cylinder, and calculating the magnitude of the load gravity based on the output force of the air cylinder and the angle between the piston rod of the current air cylinder and the plumb line;
the tail end tool acts on the machining surface, the actual pressing force, the guide rail displacement and the position and posture of a piston rod of the cylinder on the tail end tool and the machining surface are collected in real time, the set pressing force on the tail end tool and the machining surface is compared with the actual pressing force, and the output force of the cylinder is compensated for once based on load gravity to obtain a first compensation given value of the output force of the cylinder;
performing secondary compensation on the output force of the cylinder by adopting an incremental PID control algorithm based on the actual output force of the cylinder and the given value of the output force of the cylinder in the previous control period to obtain a second compensation given value of the output force of the cylinder;
and controlling the cylinder to work based on the second compensation set value of the output force of the cylinder.
The control method of the invention comprises two main contents based on the following: load automatic weighing and cylinder precision force control, as described in detail below.
Firstly, the load automatic weighing function can measure the end tool mass by adjusting the output force of the air cylinder, the automatic weighing process is shown in fig. 3, and the weighing principle is shown in fig. 4. In the figure 3, m is the number of times of weighing, the pneumatic compliance device is firstly adjusted to the position where the included angle between the direction of the gravity borne by the pneumatic compliance device and the direction of the output force of the air cylinder is within 45 degrees, then the output force of the air cylinder is gradually increased by 0.1N of the minimum force control precision until the guide rail of the device generates 1mm displacement, the output force of the air cylinder is taken as the component of the weight borne by the tail end tool in the current posture, the mass of the tail end tool can be obtained by reverse thrust, and the average value is taken as the mass of the tail end tool by repeated measurement for three times so as to reduce the measurement error.
As shown in fig. 5, the cylinder precision force control includes primary compensation and secondary compensation of the cylinder output force, specifically:
the specific mode of carrying out primary compensation on the output force of the cylinder based on the load gravity comprises the following steps:
s1, obtaining the angle between the piston rod of the cylinder and the plumb line, and calculating the acting force F of the gravity borne by the load on the piston rod of the cylinder by combining the load gravitypIf F ispThe direction is towards the processing surface, and is denoted by Fp> 0, otherwise Fp<0;
S2, acquiring actual pressing force Fr on the end tool and the machined surface in real time, and acquiring set pressing force Fs on the end tool and the machined surface;
s3, if FpIf > 0, executing step S4, otherwise executing step S5;
s4, if Fr > Fs, Fn+1,1=Fn-|FpIf not, Fn+1,1=Fn-|FpL + | Fr-Fs |/2, where FnFor a given value of the output force of the cylinder at n moments, Fn+1,1A first compensation given value of the output force of the cylinder at the moment n + 1;
s5, if Fr > Fs, Fn+1,1=Fn+|FpIf not, Fn+1,1=Fn+|FpL + | Fr-Fs |/2, where FnFor a given value of the output force of the cylinder at n moments, Fn+1,1The first compensation set value of the output force of the cylinder at the moment n + 1.
The specific mode of carrying out secondary compensation on the output force of the cylinder by adopting an incremental PID control algorithm is as follows:
obtaining secondary compensation value F of cylinder output force based on incremental PID control algorithmΔ
Calculating a second compensation given value of the output force of the cylinder: fn+1,2=Fn+1,1+FΔ
F in step S1pCalculated by the following formula: fp=Fg·cosθ,FgTo load the gravity, θ is the angle of the cylinder piston rod from the vertical.
FΔObtained by the following formula:
FΔ=Kp(F(n)-F(n-1))+KiF(n)+Kd(F(n)-2F(n-1)+F(n-2))
F(n)=FS(n)-Fr(n)
F(n-1)=FS(n-1)-Fr(n-1)
F(n-2)=FS(n-2)-Fr(n-2)
wherein, FS(n)、FS(n-1)、FS(n-2) represents the set pressing force between the end tool and the working surface at time n, time n-1, and time n-2, respectively, and Fr(n)、Fr(n-1)、Fr(n-2) represents the actual pressing force on the end tool and the processing surface at the time n, the time n-1 and the time n-2, respectively, and when n is 0, F (n-1) is 0 (n-2), and K is 0p、Ki、KdIs a PID parameter.
Kp、Ki、KdThe values are as follows:
the value range of the set pressing force Fs on the end tool and the processing surface is (0N, 100N)]When, Kp=3.5,Ki=0.02,Kd=0;
The value range of the set pressing force Fs on the end tool and the processing surface is (100N, 200N)]When, Kp=2.5,Ki=0.02,Kd=0;
The value range of the set pressing force Fs on the end tool and the processing surface is (200N, 400N)]When, Kp=1.5,Ki=0.02,Kd=0。
The method comprises the steps of obtaining an analog signal of a numerical value of an output force of an air cylinder through a force sensor, obtaining an analog signal of a guide rail position of a pneumatic flexible device through a displacement sensor, obtaining an analog signal of an angle numerical value of the pneumatic flexible device through an acceleration sensor, connecting the analog signal to an AI module interface of a PLC, calculating and processing the analog signal into a corresponding metric numerical value through a function corresponding to a sensor parameter, calculating through a gravity compensation program and a force output program of the PLC to obtain a numerical value of an actual output force of the air cylinder, outputting a voltage signal through the AO module interface, carrying out voltage control on an electromagnetic valve and a proportional pressure valve, changing valve port displacement of the electromagnetic valve, controlling the size and direction of gas flow in the air cylinder, outputting a certain force to the guide rail of the pneumatic flexible device, transmitting the force to a tail end tool, enabling the force to be attached to a processing surface and keeping constant force contact, and realizing constant force output.
The above embodiments are merely examples and do not limit the scope of the present invention. These embodiments may be implemented in other various manners, and various omissions, substitutions, and changes may be made without departing from the technical spirit of the present invention.

Claims (10)

1.一种基于PLC的气动柔顺装置控制系统,其特征在于,该系统包括具有双向输出力的气缸,所述的气缸的活塞杆通过导轨与末端工具连接,所述的末端工具作用于加工面上,该系统还包括用于测量末端工具与加工面上的压紧力的压力传感器、用于测量导轨位移的位移传感器、用于测量气缸活塞杆位姿的位姿传感器以及用于控制气缸的控制阀的PLC控制器;1. A PLC-based pneumatic compliance device control system, characterized in that the system comprises a cylinder with bidirectional output force, and the piston rod of the cylinder is connected with an end tool through a guide rail, and the end tool acts on the processing surface On the other hand, the system also includes a pressure sensor for measuring the pressing force between the end tool and the machining surface, a displacement sensor for measuring the displacement of the guide rail, a pose sensor for measuring the pose of the cylinder piston rod, and a sensor for controlling the cylinder. PLC controller that controls the valve; 将导轨和末端工具作为负载,末端工具作用于加工面之前,对负载进行自动称重,末端工具作用于加工面之后,所述的PLC控制器实时采集末端工具与加工面上的实际压紧力、导轨位移和气缸活塞杆位姿,基于负载重力对气缸输出力进行补偿并精确控制末端工具与加工面上的压紧力使其保持恒定。The guide rail and the end tool are used as loads. Before the end tool acts on the machining surface, the load is automatically weighed. After the end tool acts on the machining surface, the PLC controller collects the actual pressing force between the end tool and the machining surface in real time. , guide rail displacement and cylinder piston rod position, compensate the cylinder output force based on the load gravity and precisely control the pressing force between the end tool and the machining surface to keep it constant. 2.根据权利要求1所述的一种基于PLC的气动柔顺装置控制系统,其特征在于,所述的位姿传感器包括用于测量气缸活塞杆与铅垂线角度的加速度传感器。2 . A PLC-based pneumatic compliance device control system according to claim 1 , wherein the position and attitude sensor comprises an acceleration sensor for measuring the angle between the cylinder piston rod and the plumb line. 3 . 3.一种基于PLC的气动柔顺装置控制方法,其特征在于,该方法基于权利要求2所述的控制系统,该方法包括:3. A PLC-based pneumatic compliance device control method, characterized in that, the method is based on the control system of claim 2, the method comprising: 将导轨和末端工具作为负载,调整负载位置,启动气缸并逐步增加气缸输出力,直至位移传感器输出位移,同时记录当前气缸活塞杆的与铅垂线的角度以及气缸输出力的大小,基于气缸输出力以及当前气缸活塞杆的与铅垂线的角度计算得到负载重力大小;Use the guide rail and the end tool as the load, adjust the load position, start the cylinder and gradually increase the output force of the cylinder until the displacement sensor outputs displacement, and record the current angle of the cylinder piston rod and the plumb line and the size of the cylinder output force, based on the cylinder output The force and the angle of the current cylinder piston rod and the plumb line are calculated to obtain the load gravity; 末端工具作用于加工面,实时采集末端工具与加工面上的实际压紧力,导轨位移和气缸活塞杆位姿,将末端工具与加工面上的设定压紧力与实际压紧力进行比较,基于负载重力对气缸输出力进行一次补偿,得到气缸输出力第一补偿给定值;The end tool acts on the machining surface, collects the actual pressing force between the end tool and the machining surface in real time, the displacement of the guide rail and the position of the cylinder piston rod, and compares the set pressing force on the end tool and the machining surface with the actual pressing force , the cylinder output force is compensated once based on the load gravity, and the first compensation given value of the cylinder output force is obtained; 基于气缸实际输出力和上一控制周期内气缸输出力给定值,采用增量式PID控制算法对气缸输出力进行二次补偿,得到气缸输出力第二补偿给定值;Based on the actual output force of the cylinder and the given value of the output force of the cylinder in the previous control period, the incremental PID control algorithm is used to perform the secondary compensation of the output force of the cylinder, and the second compensation given value of the output force of the cylinder is obtained; 基于气缸输出力第二补偿给定值控制气缸工作。The operation of the cylinder is controlled based on the second compensation given value of the cylinder output force. 4.根据权利要求3所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,对负载进行自动称重时将负载位置调整至:气缸输出力方向与负载重力方向的角度为0°~45°。4. A PLC-based pneumatic compliance device control method according to claim 3, characterized in that, when the load is automatically weighed, the load position is adjusted to: the angle between the cylinder output force direction and the load gravity direction is 0° ~45°. 5.根据权利要求3所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,对负载进行自动称重时以0.1N大小逐步增加气缸输出力。5 . The PLC-based control method for a pneumatic compliance device according to claim 3 , wherein the output force of the cylinder is gradually increased by 0.1N when the load is automatically weighed. 6 . 6.根据权利要求1所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,基于负载重力对气缸输出力进行一次补偿的具体方式包括如下步骤:6. a kind of PLC-based pneumatic compliance device control method according to claim 1, is characterized in that, the concrete way that the cylinder output force is compensated once based on load gravity comprises the following steps: S1、获取气缸活塞杆与铅垂线角度,结合负载重力大小计算负载所受重力对气缸活塞杆作用力Fp,若Fp方向为指向加工面方向,记Fp>0,反之Fp<0;S1. Obtain the angle between the piston rod of the cylinder and the vertical line, and calculate the force F p of the load on the piston rod of the cylinder by the gravity of the load. If the direction of F p points to the machining surface, record F p > 0, otherwise F p <0; S2、实时采集末端工具与加工面上的实际压紧力Fr,同时获取末端工具与加工面上的设定压紧力Fs;S2. Collect the actual pressing force Fr on the end tool and the processing surface in real time, and obtain the set pressing force Fs on the end tool and the processing surface at the same time; S3、若Fp>0则执行步骤S4,否则执行步骤S5;S3. If F p > 0, go to step S4, otherwise go to step S5; S4、若Fr>Fs,则Fn+1,1=Fn-|Fp|-|Fr-Fs|/2,否则Fn+1,1=Fn-|Fp|+|Fr-Fs|/2,其中,Fn为n时刻气缸输出力给定值,Fn+1,1为n+1时刻气缸输出力第一补偿给定值;S4. If Fr>Fs, then F n+1,1 =F n -|F p |-|Fr-Fs|/2, otherwise F n+1,1 =F n -|F p |+|Fr- Fs|/2, where F n is the given value of the output force of the cylinder at time n, and F n+1,1 is the given value of the first compensation of the output force of the cylinder at time n+1; S5、若Fr>Fs,则Fn+1,1=Fn+|Fp|-|Fr-Fs|/2,否则Fn+1,1=Fn+|Fp|+|Fr-Fs|/2,其中,Fn为n时刻气缸输出力给定值,Fn+1,1为n+1时刻气缸输出力第一补偿给定值。S5. If Fr>Fs, then F n+1,1 =F n +|F p |-|Fr-Fs|/2, otherwise F n+1,1 =F n +|F p |+|Fr- Fs|/2, where F n is the given value of the output force of the cylinder at time n, and F n+1,1 is the given value of the first compensation of the output force of the cylinder at time n+1. 7.根据权利要求6所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,采用增量式PID控制算法对气缸输出力进行二次补偿的具体方式为:7. a kind of PLC-based pneumatic compliance device control method according to claim 6, is characterized in that, the concrete mode that adopts incremental PID control algorithm to carry out secondary compensation to cylinder output force is: 基于增量式PID控制算法获取气缸输出力二次补偿值FΔObtain the secondary compensation value F Δ of the cylinder output force based on the incremental PID control algorithm; 计算气缸输出力第二补偿给定值:Fn+1,2=Fn+1,1+FΔCalculate the second compensation given value of the cylinder output force: F n+1,2 =F n+1,1 +F Δ . 8.根据权利要求6所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,步骤S1中Fp通过下式计算:Fp=Fg·cosθ,Fg为负载重力,θ为气缸活塞杆的与铅垂线的角度。8. a kind of PLC-based pneumatic compliance device control method according to claim 6, is characterized in that, in step S1, F p is calculated by following formula: F p =F g ·cos θ, F g is load gravity, θ is The angle of the cylinder piston rod to the plumb line. 9.根据权利要求7所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,FΔ通过下式得到:9. a kind of PLC-based pneumatic compliance device control method according to claim 7, is characterized in that, F Δ is obtained by following formula: FΔ=Kp(F(n)-F(n-1))+KiF(n)+Kd(F(n)-2F(n-1)+F(n-2))F Δ =K p (F(n)-F(n-1))+K i F(n)+K d (F(n)-2F(n-1)+F(n-2)) F(n)=FS(n)-Fr(n) F (n)=FS(n) -Fr (n) F(n-1)=FS(n-1)-Fr(n-1)F(n-1)=F S (n-1)-F r (n-1) F(n-2)=FS(n-2)-Fr(n-2)F(n-2)=F S (n-2)-F r (n-2) 其中,FS(n)、FS(n-1)、FS(n-2)分别表示n时刻、n-1时刻、n-2时刻末端工具与加工面上的设定压紧力,Fr(n)、Fr(n-1)、Fr(n-2)分别表示n时刻、n-1时刻、n-2时刻采集末端工具与加工面上的实际压紧力,当n=0时,F(n-1)=F(n-2)=0,Kp、Ki、Kd为PID参数。Among them, F S (n), F S (n-1), and F S (n-2) represent the set pressing force between the end tool and the machining surface at time n, time n-1, and time n-2, respectively, F r (n), F r (n-1), and F r (n-2) represent the actual pressing force on the end tool and the machining surface collected at time n, time n-1, and time n-2, respectively. When n When =0, F(n-1)=F(n-2)=0, and K p , K i , and K d are PID parameters. 10.根据权利要求8所述的一种基于PLC的气动柔顺装置控制方法,其特征在于,Kp、Ki、Kd取值如下:10. A kind of PLC-based pneumatic compliance device control method according to claim 8, is characterized in that, K p , K i , K d take values as follows: 末端工具与加工面上的设定压紧力Fs取值范围为(0N,100N]时,Kp=3.5,Ki=0.02,Kd=0;When the value range of the set pressing force Fs between the end tool and the processing surface is (0N, 100N], K p = 3.5, K i = 0.02, K d = 0; 末端工具与加工面上的设定压紧力Fs取值范围为(100N,200N]时,Kp=2.5,Ki=0.02,Kd=0;When the value range of the set pressing force Fs between the end tool and the processing surface is (100N, 200N], K p = 2.5, K i = 0.02, K d = 0; 末端工具与加工面上的设定压紧力Fs取值范围为(200N,400N]时,Kp=1.5,Ki=0.02,Kd=0。When the value range of the set pressing force Fs between the end tool and the processing surface is (200N, 400N], K p =1.5, K i =0.02, K d =0.
CN202111233509.7A 2021-10-22 2021-10-22 Pneumatic flexible device control system and method based on PLC Active CN114019892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111233509.7A CN114019892B (en) 2021-10-22 2021-10-22 Pneumatic flexible device control system and method based on PLC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111233509.7A CN114019892B (en) 2021-10-22 2021-10-22 Pneumatic flexible device control system and method based on PLC

Publications (2)

Publication Number Publication Date
CN114019892A true CN114019892A (en) 2022-02-08
CN114019892B CN114019892B (en) 2024-06-28

Family

ID=80057195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111233509.7A Active CN114019892B (en) 2021-10-22 2021-10-22 Pneumatic flexible device control system and method based on PLC

Country Status (1)

Country Link
CN (1) CN114019892B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117415856A (en) * 2023-10-11 2024-01-19 北京理工大学 High-precision detection method for output force of robot joint linear hydraulic driving mechanism

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265973A (en) * 1995-01-25 1996-10-11 Mitsubishi Electric Corp Compensation controller for power system
US20020151987A1 (en) * 2001-04-13 2002-10-17 Rafael Mendez Cascading PID control loops in CMP process
CN105195524A (en) * 2015-10-21 2015-12-30 东北大学 Plate and strip thickness compensation control method in speeding up or down rolling process during cold rolling
CN206405909U (en) * 2016-12-13 2017-08-15 上海航天设备制造总厂 A kind of pneumatic compliance device
CN110030233A (en) * 2019-04-09 2019-07-19 燕山大学 Composite control method and system for hydraulic drive unit position control system
CN110153850A (en) * 2019-05-29 2019-08-23 南京涵铭置智能科技有限公司 A kind of deburring intelligent robot and its working method
CN110421560A (en) * 2019-07-04 2019-11-08 天津大学 A kind of cooperation robot constant force massage method based on pid algorithm
CN110666799A (en) * 2019-10-15 2020-01-10 吉林大学 A compliant control method for a six-degree-of-freedom serial robot based on gravity compensation
CN111105955A (en) * 2020-01-06 2020-05-05 江苏海诺普谩电子科技有限公司 Air pressure height switch
CN111216162A (en) * 2018-11-26 2020-06-02 中国科学院沈阳自动化研究所 A constant force floating device applied to the end of an industrial robot
CN112161050A (en) * 2020-10-31 2021-01-01 重庆青山工业有限责任公司 Clutch pressure compensation control method of wet DCT
CN112553715A (en) * 2020-11-03 2021-03-26 青岛宏大纺织机械有限责任公司 Weighing automatic compensation method and system for fine cotton mixer

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265973A (en) * 1995-01-25 1996-10-11 Mitsubishi Electric Corp Compensation controller for power system
US20020151987A1 (en) * 2001-04-13 2002-10-17 Rafael Mendez Cascading PID control loops in CMP process
CN105195524A (en) * 2015-10-21 2015-12-30 东北大学 Plate and strip thickness compensation control method in speeding up or down rolling process during cold rolling
CN206405909U (en) * 2016-12-13 2017-08-15 上海航天设备制造总厂 A kind of pneumatic compliance device
CN111216162A (en) * 2018-11-26 2020-06-02 中国科学院沈阳自动化研究所 A constant force floating device applied to the end of an industrial robot
CN110030233A (en) * 2019-04-09 2019-07-19 燕山大学 Composite control method and system for hydraulic drive unit position control system
CN110153850A (en) * 2019-05-29 2019-08-23 南京涵铭置智能科技有限公司 A kind of deburring intelligent robot and its working method
CN110421560A (en) * 2019-07-04 2019-11-08 天津大学 A kind of cooperation robot constant force massage method based on pid algorithm
CN110666799A (en) * 2019-10-15 2020-01-10 吉林大学 A compliant control method for a six-degree-of-freedom serial robot based on gravity compensation
CN111105955A (en) * 2020-01-06 2020-05-05 江苏海诺普谩电子科技有限公司 Air pressure height switch
CN112161050A (en) * 2020-10-31 2021-01-01 重庆青山工业有限责任公司 Clutch pressure compensation control method of wet DCT
CN112553715A (en) * 2020-11-03 2021-03-26 青岛宏大纺织机械有限责任公司 Weighing automatic compensation method and system for fine cotton mixer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117415856A (en) * 2023-10-11 2024-01-19 北京理工大学 High-precision detection method for output force of robot joint linear hydraulic driving mechanism
CN117415856B (en) * 2023-10-11 2024-05-10 北京理工大学 A high-precision detection method for the output force of a linear hydraulic drive mechanism of a robot joint

Also Published As

Publication number Publication date
CN114019892B (en) 2024-06-28

Similar Documents

Publication Publication Date Title
CN108297101B (en) Detection and dynamic compensation method of terminal pose error of multi-joint arm serial robot
CN110561237B (en) A robot abrasive belt grinding method and system combined with active and passive power control
US9797700B2 (en) Variable modelling of a measuring device
CN111168717B (en) Industrial robot based rigidity measurement loading device and joint rigidity identification method
CN109333530B (en) Six-joint mechanical arm contact force control method based on series elastic actuator
CN111546334B (en) An Online Pose Error Compensation Method for Industrial Robots to Reduce Contour Errors
CN114442556B (en) A machine tool rapid compensation system and compensation method based on laser interference principle
CN106644253A (en) Three-dimensional force sensor decoupling calibration and filtering method for constant-force grinding, and device for realizing same
CN105865341B (en) Industrial robot spatial pose repetitive positioning accuracy measuring device and method
CN110142762B (en) Robot joint position control method and device and robot
CN107144251B (en) Automatic force application device and method for gap measurement of air-floating rotor gyroscope dynamic pressure motor
CN205403838U (en) Multifunctional robot joint capability test system
CN102768006A (en) Method for automatically measuring and adjusting large-curvature curve part in normal direction
CN114019892A (en) A PLC-based pneumatic compliance device control system and method
CN102814707A (en) Device and method for determining trigger stroke of trigger sensor
CN208084111U (en) Adaptive flange ACF
CN112605997A (en) Active self-adaptive force control device for mechanical arm and control method thereof
CN110900305B (en) A method for measuring the positioning error of a machine tool table
TWI389764B (en) Machine tool with function for setting up a measurement reference point of a work
EP4015139A1 (en) Connecting rod rotary table and decoupling control method thereof
CN105911987B (en) A kind of control device and its control method of automated guided vehicle system
CN110977612B (en) CNC (computer numerical control) machining online measurement error correction method and system
CN108748150A (en) The inexpensive real-time compensation apparatus and method of object manipulator processing
CN110954268B (en) Unbalance loading calibration system
CN209069497U (en) A kind of calibrating installation of aeroengine thrust measurement test bay

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant