robot system with feedback control - diva portal215925/fulltext01.pdf · external force sensor. it...

57
i MASTER’S THESIS Master degree program in Robotics Department of Technology, Mathematics and Computer Science 2006:RT04 Robot System with Feedback Control Andreas Malmqvist

Upload: vodang

Post on 03-Feb-2018

222 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

i

MASTER’S THESIS Master degree program in Robotics Department of Technology, Mathematics and Computer Science

2006:RT04

Robot System with Feedback Control

Andreas Malmqvist

Page 2: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

ii

Summary As a part of ongoing research projects at University West in the area of robot welding applications, a study was looked-for in the field of feedback control of robot systems with external sensors. A literature survey was performed in this field. A virtual instrument was developed in a PC using the LabView software from National Instruments. The instrument receives a signal from a force sensor, converts the input data and sends out the computed signal on a configured serial port. This information is then received by the robot system to be used to control the robot trajectory. The system was tested and it showed that external closed loop control of robot movement was possible to do. Problems with high delay time in the ABB IRB2400 robot system limits the bandwidth or the speed of the closed loop system. This delay time is caused by the intrinsic offset function that is needed to change robot path during motion. This function requires a great computational cost. The conclusion is that ABB IRB2400 robots, with the S4 controller, are limited for applications with low bandwidth because of their motion computation program structure. It does not allow for external feedback applications that require higher robot movement speeds.

Author: Andreas Malmqvist Examiner: Anna-Karin Christiansson Advisor: Fredrik Sikström Programme: Master’s programmme in Robotics, Subject: Mechanical engineering Level: Master Date: October 10th, 2006 Report Number:2006:RT04 Keywords Feedback control, Robotics, Force sensor, Closed loop Publisher: University West, Department of Technology, Mathematics and Computer Science,

S-461 86 Trollhättan, SWEDEN Phone: + 46 520 22 30 00 Fax: + 46 520 22 32 99 Web: www.hv.se

Page 3: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

iii

Preface I would like to thank everyone who helped through the project, especially Fredrik Sikström who helped me with the force sensor and analysis parts of the project, as well as Mats Högström and Kjell Hurtig who gave me advice with the actual robot programming and hardware. I also want to thank Anna-Karin Christiansson for her assistance throughout the project.

Page 4: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

iv

Content Summary............................................................................................................................................. ii Preface ................................................................................................................................................ ii Preface ............................................................................................................................................... iii List of Symbols.................................................................................................................................vi 1 Introduction ................................................................................................................................1

1.1 Background.......................................................................................................................1 1.2 The Task............................................................................................................................1 1.3 Aim.....................................................................................................................................1 1.4 Limitations ........................................................................................................................2 1.5 Method ..............................................................................................................................2

2 Hardware and Software.............................................................................................................3 2.1 ABB IRB2400...................................................................................................................3 2.2 USB DAQ Device ...........................................................................................................3 2.3 LabView ............................................................................................................................4 2.4 The Force Sensor .............................................................................................................4

2.4.1 Strain Gauges ......................................................................................................5 2.4.2 Sensor Electronics..............................................................................................5 2.4.3 Calibration of the sensor ...................................................................................6 2.4.4 Linearity ...............................................................................................................6 2.4.5 Tolerance .............................................................................................................7

2.5 The Virtual Instrument ...................................................................................................7 2.5.1 Measurements & Conversions .........................................................................8 2.5.2 Controller Design...............................................................................................8 2.5.3 Communication ..................................................................................................9 2.5.4 Data Documentation .........................................................................................9

3 Robot program .........................................................................................................................10 3.1 Detailed description of Robot program .....................................................................10

4 The Test Process ......................................................................................................................13 4.1 Characteristics.................................................................................................................14

4.1.1 Vertical Approach test .....................................................................................14 4.1.2 Horizontal Approach test ...............................................................................14 4.1.3 Nonlinear Gains ...............................................................................................15

5 System model analysis .............................................................................................................15 5.1 Delay Time......................................................................................................................16 5.2 Time constants ...............................................................................................................16

6 Controller Design.....................................................................................................................17 7 Results........................................................................................................................................21

7.1 Problems .........................................................................................................................21 7.2 Conclusion ......................................................................................................................22 7.3 Future work ....................................................................................................................22

8 Personal Reflection ..................................................................................................................23

Page 5: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

v

Appendices A. LabView Virtual Instrument Connection Scheme B. LabView Virtual Interface Front C. Robotprogram in RAPID D. Force Sensor Circuit E. ABB RAPID Manual Advanced Motion F. Results from test on ramp and total system

Figures Figure 1 System diagram.................................................................................................................. 3 Figure 2 Example of the LabView virtual instrument................................................................. 4 Figure 3 The force sensor without the electronics installed. ...................................................... 4 Figure 4 Circuit drawing for the force sensor............................................................................... 5 Figure 5 Graph showing the Force/Voltage Linearity................................................................ 6 Figure 6 Closed loop system ........................................................................................................... 8 Figure 7 PID controller in LabView .............................................................................................. 8 Figure 8 Gain Schedule function in the VI ................................................................................... 9 Figure 9 The Line Feed command in the VI ................................................................................ 9 Figure 10 The test ramp’s dimensions and test point locations............................................... 13 Figure 11 Forces enduing on the sensor in red and the resulting force in blue .................... 15 Figure 13 Step response graph...................................................................................................... 17 Figure 14 Bode diagram of the process for test point 1............................................................ 18 Figure 15 Bode diagram with increased gain .............................................................................. 18 Figure 16 Test run of one PI-setting............................................................................................ 19 Figure 17 Test run of adjusted PI-settings .................................................................................. 20 Tables Table 1 Force Voltage Linearity test .............................................................................................. 6 Table 2 Force test to determine margin of error.......................................................................... 7 Table 3 Vertical Approach Ramp test.......................................................................................... 14 Table 4 Horizontal Approach Ramp test .................................................................................... 14 Table 5 Dynamic Gains for the test ramp................................................................................... 15 Table 6 Delay times for testpoint 1 & 4 ...................................................................................... 16 Table 7 Time constants for different test points........................................................................ 17 Table 8 PI-controller parameter settings ..................................................................................... 19 Table 9 Adjusted PI-controller settings ....................................................................................... 20

Page 6: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

vi

List of Symbols ABB IRB2400 – The robot used in the project

I/O – Input and/or Output

RAPID – Programming language for ABB robots

RS-232 – Serial Communication Protocol

USB – Universal Serial Buss

VI – Virtual Instrument (in LabView by National Instrument)

TCPF – Tool Center Point Frame

Page 7: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

1

1 Introduction The thesis work concerns design of an external feedback loop for a robot system where the robot functions as an actuator and a measured signal enters into the system from an external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system using LabView [2], system analysis and controller design.

1.1 Background The industry has for a long time been searching for methods to implement external feedback systems for robots so they can interact with their environment with high accuracy. A lot of different companies and robot developers are interested in establishing communication with robot systems regarding control signals. The main interest behind this project is to understand how external sensors can be implemented on a robot system with the help of a personal computer. The practical application for this project is to be found in different research projects in robotized welding at the University West.

1.2 The Task The main task of this project is to design a feedback system involving a robot, with a sensor attached to it, and a computer system. The objective is to have the robot move the sensor/actuator against a test object, see chapter 4, measure the reaction force, and thereby maintain a constant reaction force set by the operator. This means that the robot system has to execute corrections from the programmed path to ensure the desired set point regardless of disturbances.

1.3 Aim The aim for this project is to close the loop by means of the LabView-software [2] between a force sensor and the robot system and then evaluate performance with this configuration. The different questions to be answered are:

• How should the LabView Virtual Instrument be designed and what functions are needed?

• How can a controller be implemented in LabView and what algorithm is best for controlling the system?

• Can the intended sensor be used or does another solution need to be found? • How can a robot program be written to achieve path change during motion? • What kind of performance can be achieved and is that configuration useful?

Page 8: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

2

1.4 Limitations Access to an ABB IRB2400 [1] robot was made available in the machine hall at University West. The involved force sensor was supplied by the supervisor and consists of 4 strain gauges interconnected via an electronic circuit for amplification. Programming of the interface and robot system was made using LabView [2], with an USB I/O module which was supplied by the supervisor, and the RAPID [1] language for ABB robots.

Programs that were used in the project:

• LabView 7.1 with Controller and I/O addition for serial communication, controller algorithms and measurements.

• Notepad++ for RAPID c-programming

• Office 2002 for making spreadsheets, diagrams and writing the thesis work

• Matlab 7.0 for creating bodédiagrams

1.5 Method This project started with a literature search for similar projects to see what others have experienced and that could be used in this project [6, 7, 8]. This was followed by producing a LabView virtual instrument for (VI) measuring, data processing and communication with the robot system. The robot program was written including the function for making robot path corrections. With this stage complete, the force sensor was constructed. This was followed by the calibration of the force sensor, where the force-voltage ratio was determined. This lead to the construction of a testing object, see chapter 4 for more information on this, and was followed by extensive tests on the object itself to determine its characteristics. After this, a PI-controller was designed with the help of analyzing the system. Finally there was a documentation phase where tests were made and recorded for the thesis report.

Page 9: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

3

Computer

Force Sensor

USB I/O

Robot

2 Hardware and Software This chapter describes the hard- and software used in the project. The system setup is illustrated in Figure 1.

Figure 1 System diagram

2.1 ABB IRB2400 The IRB 2400 delivers high accuracy, gives excellent performance in material handling, machine tending and process applications. IRB 2400 offers increased production rates, reduced lead times and faster delivery for manufacturing products then earlier models. Reliability is ensured by using minimum number of parts which in itself means long intervals between maintenance [10].

2.2 USB DAQ Device To connect the force gauge to the computer, some kind of I/O board was needed. The one available was the USB – 6009 I/O DAQ Device, by National Instruments [9]. USB-6009 is a multifunction data acquisition device that provides reliable data acquisition at a low price. See Figure 1. With plug-and-play USB connectivity, this device is simple enough for quick measurements, but versatile enough for more complex measurement applications. It supports 14 bits, has a maximum sampling rate of 48 kS/s and can handle inputs up to ± 10 V. Figure 1 External and internal view of the I/O device

This means that the theoretical voltage amplitude resolution is 10/214-1 {V/bit}(approx 1.2 mV/bit)

Page 10: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

4

2.3 LabView To read data on the computer screen and to do the necessary computations, a virtual instrument was developed. The program used was LabView v7.1, by National Instruments. See Figure 2 for an example of the created virtual instruments front panel. National Instruments LabView is an industry-leading software tool for designing test, measurement, and control systems.

LabView has the flexibility of a programming language combined with built-in tools designed specifically for test, measurement, and control, you can create applications that range from simple temperature monitoring to simulation and control of entire systems.

Figure 2 Example of the LabView virtual instrument

2.4 The Force Sensor The project only requires force sensing in the z-direction (upwards and downwards), a complicated sensor was not needed. Therefore it was decided that a simple, in-house made one would work well enough. This sensor is made of a steel construction and a ball bearing wheel, showed in Figure 3.

Figure 3 The force sensor without the electronics installed.

Page 11: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

5

2.4.1 Strain Gauges A strain gauge is a device used to measure displacement (strain) of an object. Strain gauges are usually attached to the object by a suitable adhesive. As the object is deformed, the strain gauge is also deformed, causing its electrical resistance to change, although there are other types of strain gauges, this project however will focus on the resistive strain gauges. This resistance change is usually measured using a Wheatstone bridge [3]. The strain gauge, which in turn is a resistor is loaded with voltage and when the resistance change, the voltage across it change as well, thereby result in a electrical quality that can be measured.

2.4.2 Sensor Electronics The electrical part of the sensor is built up of four strain gauges connected in a Wheatstone bridge configuration [3]. See circuit diagram in Figure 4, where the resistors R4 through R6 represent the four strain gauges. This electronic configuration suppresses the temperature dependency [3] of the resistive strain gauges.

Because the output voltage of the Wheatstone bridge [3] is very low, in the range of 10-50 mV, an instrumentation amplifier (LM324) was added for amplifying the voltage output and there by easier the measurements.

Figure 4 Circuit drawing for the force sensor

The total circuit consists of 3 major parts; the strain gauges in Wheatstone bridge configuration, the power supply and reference voltage both seen in the left of the diagram, and the instrument amplification part to the right. Trim resistor R8 is used for balancing the Wheatstone bridge, for the reason that no two strain gauges are alike and will therefore cause an unbalanced circuit. Trim resistor R7 is used for adjusting the amplification.

Page 12: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

6

2.4.3 Calibration of the sensor To determine the Force-Voltage ratio as well as setting the upper and lower range values of the output, a calibration was done. This was achieved by mounting the force sensor to a so called “Material Testing Machine” [5]. This test machine can apply forces, very precisely, to an object. The strain gauges were connected in such a way that with an increase in force, we get a decrease in output voltage. Calibration was done by subjecting the force sensor to 700 [N] and adjusting the trim resistor R7 to find the point where it’s exactly 0 on the output. Then by removing the pressure to 0 [N] and finding the highest possible voltage by adjusting trim resistor R7 we find the 0 Force-voltage value, in this case 2,5 Volts.

2.4.4 Linearity To test for linearity, the Material Testing Machine [5] was used to apply 1-600 [N] and noting the output values from the amplifier. And by doing this test two times, its repeatability was also confirmed. The results can be seen in Table 1 and Figure 5. Force [N] Output Test 1 [V] Output Test 2 [V] Average Voltage Decrease [V]

0 2,484 2,484 0 100 2,168 2,166 0,317 200 1,849 1,845 0,637 300 1,523 1,527 0,959 400 1,194 1,191 1,292 500 0,864 0,858 1,623 600 0,531 0,528 1,954

Table 1 Force Voltage Linearity test

Force Voltage Linearity

00,25

0,50,75

11,25

1,51,75

2

0 100 200 300 400 500 600

Force [N]

Volta

ge D

ecre

ase

[V]

Figure 5 Graph showing the Force/Voltage Linearity

These results show that the force sensor is highly linear, which is required for this kind of application.

By using the average voltage decreases and comparing them with the applied forces and calculating the mean values of these the voltage / force ratio is determined.

Page 13: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

7

ForceVoltage Ratio:

0,003229600500400300200100

954,1623,1292,1959,0637,0317,0=

++++++++++

==FU [V/N]

)200637,0

100317,0(

61 etc

FU

++==

This voltage / force ratio is used for converting the measured output voltage, to a force value

2.4.5 Tolerance With this information a tolerance [3] test was done with the help of the VI, which converts the voltage value into a force value and which is described more in chapter 2.5, and the Material Testing Machine [5] to determine how the force-voltage ratio would affect the measured force. Forces in the range of 1 to 600 Newton were tested and the results are showed in Table 2.

Applied Force [N] Measured Force [N] Error (%) 100 99,1 0,90%200 197 1,50%300 296 1,33%400 397 0,75%500 498 0,40%600 599 0,17%

Table 2 Force test to determine margin of error

where the error is determined from this formula:

AppliedMeasuredAppliedError −

=

With only a 1,5 % relative error in the test, it was determined to be good enough for our application.

2.5 The Virtual Instrument One of the main aims for the project is to measure the force that the robot applies and to control the robot to perform a desired force using a LabView VI with an Input/Output USB device [9], see Section 2.1. The creation of the VI called for 4 major functions, Measurements & Conversion, Controller Design, Communication and Data Saving.

VoltageForce

Strain gauge sensor

Page 14: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

8

2.5.1 Measurements & Conversions The voltage signal from the force gauge is within the range of 0-2.5 volts. The VI is then designed to continuously read the I/O device and the information is read as an array, which consists of measured waveform (Y), start time and the time step (dt). The measured waveform or rather the measured voltage is then converted to a force value. From calibration, see section 2.3.2, it was determined that the voltage/force ratio of the sensor was 0,003229 [V/N]. Combined with the knowledge that the force sensor produces a decrease in voltage for increase in force, we get:

( )( )003229,0

5,2−

−=

VVoltForce Measured [N]

It was also needed to implement a filter to attenuate high frequency disturbances. The filter chosen was a standard one from the LabView library, called: PID Control Input Filter.

2.5.2 Controller Design To react to the forces measured by the sensor, a controller was needed to calculate the required path corrections. In this case, it’s the offset of the path that requires changing. In Figure 6 below one can see a closed loop system with “r” as the setpoint value, “y” as the process variable (path offset), C as the controller itself and finally “P” as the robot system. An early decision was to use a PID controller for simplicity and robustness, and one from the LabView library was chosen, see Figure 7.

Figure 6 Closed loop system

As with all PID controllers there is a set point “r”, process variable “y”, PID Gains “P”, “I” and “D” and a controller output “u”. But in this case there is also manual control, and an output limiter. The output limiter limits the maximum value the output signal may achieve.

Figure 7 PID controller in LabView

To be able to handle different kinds of systems, both linear and non linear, different PID settings may be needed depending on what process is being tested and what kind of nonlinearity it has.

Page 15: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

9

So a PID Gain schedule was implemented and this is a matrix of PID settings. The PID gain schedule consists of the P, I, D settings as well as a threshold value used to describe when a certain setting is going to be used. The PID gain scheduler then reads the current value from the ”Set” input and then compares it to the threshold value in

the PID matrix. This PID matrix contains the different PID settings that are going to be used, depending on what the relation of the threshold and set values are. See chapter 4.1 for a more detailed description on why there are needs for a PID gain schedule.

Figure 8 Gain Schedule function in the VI

2.5.3 Communication When output data has been calculated by the controller, it is sent to the robot system via a serial connection. This was achieved by using a RS-232 cable, and with a VISA Serial Communication function in LabView. The user is presented to options in the VI to set the Communication port, baud rate, data bits, parity, stop bits and flow control.

Before sending the controller output to the port, it needs to be converted to a string variable and given a ”line feed” symbol at the end.

This is added because the robot communication protocol [1] is designed so that it reads data until it detects a ”line feed” symbol, thereby confirming that all information has been sent. New information sent after this will be considered as a new value.

Figure 9 The Line Feed command in the VI

2.5.4 Data Documentation For later analysis of the measurements discussed in chapter 2.5.1, the test results need to be saved and this is done by converting the measured data into an array. This is then transformed into a spreadsheet string which is saved in a spreadsheet file.

Page 16: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

10

3 Robot program The main task for the robot system is to move the actuator from position 10 to position 20. While doing this it will receive path corrections for maintaining the desired reaction force on a testobject, see chapter 4 for more information on that. This is done by changing its vertical distance from the object, it’s z-offset.

Normally it is not possible to execute two commands, in the robot system, at the same time, but by using an interrupt function [Appendix E], two functions could be executed more or less simultaneously.

3.1 Detailed description of Robot program The program consists of the main program where the first part consists of initiation of the correction generator for vertical corrections, setting different offsets to 0 and closing the communication channel. See below

TPErase; TPWrite "Program running! "; Close iodev1; !Closing Channel 1 CorrClear; !Reset correction generator CorrCon verti; !Start Correction Gen write_offset.x:=0; write_offset.z:=0; Next in the program come the commands for movement. The robot motion starts at position “10”, which is the designated homeposition, just before the test object, see chapter 4, and after that the single interrupt function is activated and the program will try to run with a 1/10th of a second interval or a frequency of

101,0

11===

tf Hz. The actual program won’t be able to accomplish 10 Hz but the

interval time was set low so it would process it as fast as possible. Directly after the interrupt is initiated, the robot is instructed to move to position “20” with a set speed of 1 cm /s. Then after about 0.1 seconds after it starts, the program will enter the interrupt subroutine.

MoveL p10,v1000,fine,Flaska1\WObj:=wb2; !Move to start location CONNECT timeint WITH Readsensor1; ITimer\Single,0.1,timeint; MoveL p20,v10,fine,Flaska1\WObj:=wb2\Corr; !Moving towards p20 When the robot has reached position “20” the interrupt function is removed and the current offset value is read from the correction generator. This value is then presented on the robot teach pendant hand control at the end of the program cycle.

Page 17: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

11

IDelete timeint; !Shut off timer interrupts total_offset:=CorrRead(); !Corrections added CorrClear; TPWrite "The total corrections in Z: "\Num:=total_offset.z; WaitTime 3; The actual interrupt subroutine starts with the interrupt being removed and opening the serial channel for reading. The ReadNum [1] will read the port until it sees a “new line” command in the bytes sent. This is read as “/0A” by the RAPID [1] program and is sent from the Labview VI as a “line feed” symbol. After this the channel is closed and the number received is compared to a set value.

If the value is below 980 then the program works normally, otherwise the program stops the robot motion and exits the program. If no value over 980 is registered the program continues with converting the value into meters. The reason for using meter value is not yet understood, but it’s assumed to be a programming glitch in the primary robot program, as it normally uses 0.1 mm increments.

This converted value is then used in conjunction with the CorrWrite [1] function that implements the change in path offset. All the points along the trajectory will be given an offset in the current z direction. Before exiting the program the interrupt function is activated again.

IDelete timeint; !Removing interrupt Open "sio1:",iodev1\Read; !Opening Channel 1 z_temp:=ReadNum(iodev1); !Reading from Channel 1 Close iodev1; !Closing Channel 1 if z_temp>900 THEN !”Force over maximum guard” TPWrite "Force of maximum! Roboten stops!” z_temp:=0; Exit; ELSE z_just:=z_temp/10000; !Converting to meters write_offset.z:=z_just; !Setting new z-offset value CorrWrite verti,write_offset; !Implement the corrections CONNECT timeint WITH Readsensor1; !Activate interrupts again ITimer\Single,0.05,timeint; ENDIF

The first problem was to achieve an interrupt function in the robot control system that had sufficient high update frequency. According to the RAPID instructions manual [1], cycled interrupts can only be generated with an interval of 1 Hz. As the robot shall move with as high speed as possible, it is clear that this bandwidth is not a viable option with high speed movement. The control system will not be able to change the path fast enough for a stable handling. The solution was to use single interrupts that are reinitialized after each interrupt.

Page 18: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

12

A single interrupt only happens once and the RAPID [1] program structure allows for much shorter generation of these. Tests show that interrupts could be done with a frequency of 6 Hz which is acceptable for this application, although this will not allow for speeds higher than 1cm/s.

The other problem was to solve the path corrections. The solution was to use these interrupts to add offsets to the robot path with the help of the advanced correction generator function. The added offset is added to the path by the activation of the CorrWrite function [1]. The path is immediately corrected and a new offset is reached with same speed as the path speed. This means that the vertical speed is the same as horizontal speed, which results in a movement inclination/declination of 45 degrees. This limits the test objects, see chapter 4, inclination to 45 degrees and preferably less then that.

So the decision was made to build the test ramp with a 30 degree inclination to allow for unhindered vertical movement.

Page 19: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

13

4 The Test Process To test the closed loop system a test object in the form of a ramp, was constructed. See Figure 10. This ramp would allow for the system to continuously move the sensor along the ramp with continual height change. The ramp consists of two rectangular pieces of steel that are welded together. The dimensions for the upper ramp plate is L300×W50×D5 mm and L400×W150×D10 mm for the base plate.

Figure 10 The test ramp’s dimensions and test point locations

As it’s only attached in one end, it allows for bending. This gives the system a safeguard function that is if something would go wrong with the controller signal, it would bend the ramp instead of the force sensor. But this also means that the ramp has a non linear dynamic character, further complicating the PI-controller task.

Page 20: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

14

4.1 Characteristics To get an idea of how the ramp behaves, tests was made to determine its characteristics. Each test is done at five points along the ramp. The reason for the narrower positioning of the points in beginning of the ramp is its stiffness, which is more problematic to control. Therefore the controller needs to have a more varied change of PID-settings to cope the ramps characteristics at the start of the ramp.

4.1.1 Vertical Approach test The sensor, which is attached to the robot’s tool frame, was moved to some test point so it precisely touches the ramp. The robot was then manually moved vertically 1mm, and the forces that ensued were recorded in a spreadsheet file as outputs from the VI in Section xx. See Table 3 for the results.

Vertical Ramp test - 1-3mm Testpoint 1 Testpoint 2 Testpoint 3 Testpoint 4 Testpoint 5

98 N 91 N 81 N 61 N 29 N 195 N 180 N 160 N 122 N 57 N 277 N 260 N 230 N 181 N 86 N

Table 3 Vertical Approach Ramp test

4.1.2 Horizontal Approach test This test was done with the same method as the previous, but with the exception of moving towards the ramp, in the horizontal x-direction. See Table 4 for the results.

Horizontal Ramp test - 1-3mm Testpoint 1 Testpoint 2 Testpoint 3 Testpoint 4 Testpoint 5

23 N 22 N 20 N 15 N 6 N 46 N 45 N 38 N 30 N 12 N 69 N 68 N 55 N 43 N 19 N

Table 4 Horizontal Approach Ramp test

As can be seen, all the tests stay within 5% margin of error of linearity at each testpoint, but it also shows the static characteristics of the ramp. It’s clearly seen that moving in the vertical direction produces more force where it goes as high as 277 [N], compared to the horizontal test in the same point which only reaches a maximum of 69 [N].

Page 21: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

15

4.1.3 Nonlinear Gains As commented earlier, the ramp process is nonlinear which means that it got different force responses at different positions along the ramp. The forces will go from high to low, but also will change differently depending on from which direction any object make contact upon it. So, by doing the vertical and horizontal test, it’s now possible to determine the resulting force response seen in Figure 11 represented by the blue arrow.

Figure 11 Forces enduing on the sensor in red and the resulting force in blue

By using the following formula, the gain for the different test points was acquired. As the movement was 1 millimetre, and controller output will have an increment of a 1/10 of a millimetre, there will also be required to divide the force by 10.

10

22ZX

resulting

FFF

+=

This produces the test point gains per 1/10:th of a millimetre, shown in Table 5.

Resulting Gains Testpoint 1 Testpoint 2 Testpoint 3 Testpoint 4 Testpoint 5

10,26 9,36 8,34 6,28 2,96

Table 5 Dynamic Gains for the test ramp

These results are required for determining the system model and calculating the controller parameters for different positions of the ramp.

5 System model analysis With the ramp tested and with the calculated gains for the different test points done, a full test was done. The total closed loop system contains the ramp process, force sensor, pc and robot system. This can be seen in Figure 6.

Here the controller consists of the LabView PID controller. The process represents both the robot system and the ramp.

By studying books on control theory [4], one can determine an approximate mathematical model of the system. Its Laplace expression is like the following at each operating point – if we assume that it is a first order system with gain, time constant and time delay:

Page 22: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

16

( )TseKsG

Ls

p +⋅

=1

Here K is the static gain that changes along the ramp, L is the delay time and T is the time constant. To further analyze the process a few tests were done to establish time constants and time delays.

5.1 Delay Time To evaluate the system delay time, a manual so called open loop test was needed. By bypassing the PI(D) controller in the VI and setting the offset to zero, the force sensor would be pressed against the ramp as it moved towards it. This would create a force that would increase at a certain rate, depending on the speed. During the movement against the wall, an offset of 1mm was added as a controller output change. By measuring the time difference between the control output change and the change in force, the delay time for the system was acquired. The test was done at 3 speeds, 2.5 – 5 – 10 mm/s. The result from this testing on two points at different speeds are shown in Table 6.

Testpoint 1 Delay Times Speed 2,5 mm/s 5,0 mm/s 10 mm/s Time steps 1=20ms 23 25 24 Delay Time 460 ms 500 ms 480 ms Testpoint 4 Delay Times Speed 2,5 mm/s 5,0 mm/s 10 mm/s Time steps 1=20ms 22 23 24 Time 440 ms 460 ms 480 ms

Table 6 Delay times for testpoint 1 & 4

The time delays are fairly equal and we can use an average delay time of:

smsTDelay 5,04706

480460440480500460≈=

+++++= at all test points.

5.2 Time constants As a third step in modelling the process, a time constant needed to be found. Problem with this system is that it’s highly complicated and finding an exact time constant might be impossible, but one rough value may be found. By using the vertical or horizontal tests, it’s possible to do just that.

Page 23: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

17

By determining how long it takes to reach 63% of the step force value “K”, in the 1 mm vertical test one gets the time constant for all the testpoints, see table 7. Figure 13 Step response graph

Time constant values in Table 7 are the result from analyzing the graphs in Appendix F.

Time constant for Testpoints 1-5 Testpoint 1 2 3 4 5 Time step 1=20ms 6 4 5 6 5 Time 120 ms 80 ms 100 ms 120 ms 100 ms

Table 7 Time constants for different test points

Since these are quite similar, there won’t be any need for changing the time constant for each part of the ramp, a median value for it was chosen. The average time constant is set to:

smsT 1,01001045

10012010080120≈≈=

++++=

6 Controller Design With data from the ramp tests at hand, instead of using a PID controller, a PI controller was chosen instead, as the derivative (D) part wouldn’t contribute anything to this setup. This controller has this mathematical build up:

⎟⎟⎠

⎞⎜⎜⎝

⎛ +⋅=

sTKsTK

GI

IR , where K is the proportional gain and Ti the integral time

One standard method to determine a PI controller is to use a bode diagram [4] and following a few steps to determine the K and Ti.

From the results in chapter 5 we get this system model:

( )s

eKsGs

p 1,01

5,0

+⋅

=−

As there are 5 test points along the ramp, with different gains, we also get 5 models of the ramp process, which in turn means that there will be 5 PI-control parameter settings.

Page 24: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

18

Figure 14 Bode diagram of the process for test point 1

By introducing a P-controller and adjusting its gain until the phase margin [4] Øm is at 56° or greater, that gain will then be used as the K, in the PI-controller.

By testing different gains, it was found that K=0,174 is reasonable for test point 1.

Figure 15 Bode diagram with increased gain

From Figure 15 we get a gain margin [4] of 1.69 dB and a phase margin [4] of 58 degrees. From the bode diagram we also get ωC = 14,9 [rad/s]

TI is then calculated from the following formula:

CI

B Tωω ⋅== 2,01 =>

CIT

ω⋅=

2,01

Page 25: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

19

336,09,142,0

1=

⋅=IT [s]

By analyzing all the Bode diagrams [4], which can be found in Appendix F, with the different system model gains, we get the PI-settings, found in Table 8.

PI - Controller Settings Testpoint 1 2 3 4 5 K 0,174 0,178 0,18 0,284 0,603Ti 0,336 0,341 0,355 0,335 0,333

Table 8 PI-controller parameter settings

These settings were then tested and the results were not too good, as you can see in Figure 16, where magenta is reference “r”, blue is output “y” and yellow is control error “e”. Integral time seem to be correct but the gain K, seem to be too high as it overcompensates each change until its out of control.

Testrun

-50

0

50

100

150

200

250

300

350

700 750 800 850 900 950 1000 1050

Timescale 1=20ms

Forc

e

Figure 16 Test run of one PI-setting

From Figure 16 one can clearly see that the controller activity is too aggressive and by adjusting the controller, a solution has been found that by dividing the gain, K, by a factor of 3, we get a response that works much better.

Page 26: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

20

Table 9 shows new PI-settings for the controller.

Tweaked PI - Controller Settings Testpoint 1 2 3 4 5 K 0,058 0.059 0,06 0,093 0,201 Ti 0,336 0,341 0,355 0,335 0,333

Table 9 Adjusted PI-controller settings

By testing these settings, with the real system, these results where recorded and is shown in Figure 17.

Test of new PI-settings

0

20

40

60

80

100

120

140

160

180

200

220

1050 2050 3050 4050 5050 6050 7050 8050 9050 10050 11050

Timescale 1=20ms

ForceSet ValueController Output

Figure 17 Test run of adjusted PI-settings

This shows a major improvement in controlling the process. With only a 10% overshoot [4] and low oscillation, it could be considered a good controller design. There is also a good settling time, as it only takes 15 seconds to reach within 5% of the set value, but this can be debatable if one can consider the median value of the slightly oscillating signal.

Page 27: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

21

7 Results The calculated controller proved to work better than expected, but is no optimum solution. With the calculated settings, tests were done using the PI Gain Schedule. As the maximum speed was chosen as 0,5 mm/s it’s possible to find the time for when robot reaches each of the test points. At these points the PI-settings will change to the one most suited for that point. This allows for a smoother curve and better suited PI-settings for that region of the ramp. The usage of a PC together with LabView and a RS-232 serial cable proved to work very well and many things where learned about the ABB robot control system, which wasn’t defined in the manual.

7.1 Problems The adjusted PI settings proved to work reasonably well, but using higher speeds then 0,5 mm/s will prove that maintaining a low overshoot is very difficult and can’t be guaranteed.

Also during the overall test of the system, it was found that the delay time [4] was as high as 500 ms, which limits the speed at which this is usable. During manual testing it was determined that the speed of 2,5 mm/s was at its maximum to maintain a small (30%) overshoot and stable system response. But in the analysis of the mathematical model it’s been determined that the bandwidth wont allow for a speed higher than 0,5 mm/s, which is too low for a lot of practical applications.

The reason for the high delay time is the ABB RAPID [1] command structure. The function for implementing the offset requires a lot of computation and as ABB robots calculate the entire robot mathframe each time it moves. This results in a high calculation time for adding the offset and thereby the high delay time. And a solution for this problem hasn’t been found at the end of the project.

Page 28: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

22

7.2 Conclusion The conclusion is that a closed loop system, with a force sensor, personal computer using LabView [2] and a robot system actuating along a ramp, is working. However using an ABB robot system S4 [1] will results in high delay times, which highly complicates real-time control of external feed back systems.

7.3 Future work Although the system is working there is always room for improvements. As the results stated, there is a problem with the time delay. There may be solution in using other methods for changing the path with other robot systems. There may also be better ways to control the system, instead of using a PI-controller.

Questions to be answered:

• Is it possible to overcome the delay time problem of this ABB robot system or should another robot system be used?

• What other kinds of controllers could be used for this application?

Page 29: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

23

8 Personal Reflection Finally, the project is completed and I regard it as a success, and I’m rather proud of it. I have learnt much in the area of electronics, calibration, robot programming and certainly in the field of LabView programming. It has proven challenging at times, with for example LabView or programming the robot, as these software’s aren’t that logical to me every time. But I feel that I mastered them both, and they will be a valuable asset for the rest of my robotics engineer career. I hope this research project will be useful for the persons intended to gain from it.

Page 30: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

24

References

1. ABB (2002), ABB RAPID Reference Manual, 3HAC7783-1, For BaseWare OS 4.0.20

2. National Instruments (2005), LabView 7.1 Internal Reference Manual 3. Bengtsson, Lars (2003), Elektriska Mätsystem och Mätmetoder. Lund Studentlitteratur

4. Thomas, Bertil (2001) Modern Reglerteknik, Liber AB

5. Zwick GmbH & Co (1999), Material Testing Machine Instruction Manual 2.0 6. Zeng Li, Peter Ring, Kym MacRae and Andrew Hinsch 2003,

Control of Industrial Robots for Meat Processing Applications, Proceedings of the 2003 Australasian Conference on Robotics & Automation Available: http://www.araa.asn.au/acra/acra2003/papers/12.pdf [2006-03-06]

7. Per Cederberg, Magnus Olsson and Gunnar Bolmsjö (2002), Remote control of a standard ABB robot system in real time using the Robot Application Protocol. In Proceedings of the International Symposium on Robotic, ISR2002. Stockholm, October 2002. IFR, paper No. 113.

8. J. N. Pires and J.M.G Sa Da Costa (1998), Running an Industrial Robot from a typical computer, IEEE International Conference 1998, Vol. 1, pp:267-270

9. National Instruments Manual and datasheet for NI USB-6009 http://sine.ni.com/nips/cds/view/p/lang/en/nid/14605 [2006-08-24]

10. ABB Group Website Company website http://www.abb.com

Page 31: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot system with feedback control

Appendix A:1

A. LabView Virtual Instrument Connection Scheme

Page 32: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix B:1

B. LabView Virtual Interface Front

Page 33: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix C:1

C. Robotprogram in RAPID %%% VERSION:1 LANGUAGE:ENGLISH %%% MODULE AMEX PERS tooldata force1:=[TRUE,[[146.304,-76.3925,161.547],[0.99999,-0.003913,-0.00224,9E-06]],[10,[100,0,100],[1,0,0,0],0.04,0.04,0.04]]; PERS wobjdata wb2:=[FALSE,TRUE,"",[[342.847,-948.869,803.554],[0,1,3.9E-05,6.6E-05]],[[0,0,0],[1,0,0,0]]]; CONST robtarget p20:=[[385.49,-332.09,69.59],[0.999927,-0.00195,-0.009667,0.006939],[-1,-1,1,0],[564.884,9E+09,9E+09,9E+09,9E+09,9E+09]]; CONST robtarget p10:=[[100.1,-332.01,69.52],[0.999927,-0.001936,-0.009619,0.007054],[-2,-1,0,0],[564.863,9E+09,9E+09,9E+09,9E+09,9E+09]]; VAR robtarget p22:=[[536.49,-44.84,-1.25],[0.447619,-0.489463,0.568571,0.486611],[-1,-1,3,0],[564.409,9E+09,9E+09,9E+09,9E+09,9E+09]]; VAR num z_just; VAR num z_temp; VAR intnum timeint; VAR string string1:=""; VAR iodev iodev1; VAR corrdescr verti; VAR pos total_offset; VAR pos write_offset; VAR bool status; VAR num x; PROC main() MoveL p10,v1000,fine,force1\WObj:=wb2; !Move to start location x:=0; z_temp:=0; z_just:=0; TPErase; Close iodev1; !Closing serial channel 1 CorrClear; !Reseting corr.generator CorrCon verti; !Corr.gen for vertical correction write_offset.x:=0; write_offset.y:=0; CONNECT timeint WITH Readsensor1; ITimer\Single,0.05,timeint

Page 34: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix C:2

MoveL p20,v20,fine,force1\WObj:=wb2\Corr; !Moving towards p20 IDelete timeint; !Shutting off timer interrupts total_offset:=CorrRead(); !Reading total corrections CorrClear; TPWrite "The total corrections are: "\Num:=total_offset.z; WaitTime 3; ENDPROC TRAP Readsensor1 IDelete timeint; !Shutting off timer interrupts Open "sio1:",iodev1\Read; !Opening Serial Channel 1 z_temp:=ReadNum(iodev1); !Reading from Serial Channel 1 Close iodev1; !Closing Serial Channel 1 IF z_temp>980 THEN !"Force over max" protection TPWrite "Force over maximum! Robot stops! z_temp:=0; EXIT; ELSE z_just:=z_temp/10000; !Converting to meters write_offset.z:=z_just; !Setting new z-offset value CorrWrite verti,write_offset; !Implement corrections to path CONNECT timeint WITH Readsensor1; !Activating the single interrupt. ITimer\Single,0.05,timeint; ENDIF ENDTRAP ENDMODULE

Page 35: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix D:1

D. Force Sensor Circuit

Page 36: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:1

E. ABB RAPID Manual Advanced Motion

Page 37: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:2

Page 38: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:3

Page 39: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:4

Page 40: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:5

Page 41: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:6

Page 42: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:7

Page 43: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix E:8

Page 44: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:1

F. Results from test on ramp and total system

0

10

20

30

40

50

60

70

80

150 200 250 300 350 400 450 500 550 600

Timescale 1=20ms

Forc

e

Horizontal Ramptest - Testpoint 1 – 1 - 3 mm

0

10

20

30

40

50

60

70

80

2650 2700 2750 2800 2850 2900

Timescale 1=20ms

Forc

e

Horizontal Ramptest – Testpoint 2 – 1 – 3 mm

Page 45: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:2

0

10

20

30

40

50

60

70

1800 1850 1900 1950 2000 2050 2100 2150 2200

Timescale 1=20ms

Forc

e

Horizontal Ramptest - Testpoint 3 – 1 - 3 mm

0

5

10

15

20

25

30

35

40

45

50

750 800 850 900 950 1000 1050 1100 1150

Timescale 1=20ms

Forc

e

Horizontal Ramptest - Testpoint 4 – 1 - 3 mm

Page 46: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:3

0

5

10

15

20

25

1200 1250 1300 1350 1400 1450 1500 1550 1600

Timescale 1=20ms

Forc

e

Horizontal Ramptest - Testpoint 5 – 1 - 3 mm

0

25

50

75

100

125

150

175

200

225

250

275

300

5800 5900 6000 6100 6200 6300 6400

Timescale 1=20ms

Forc

e

Vertical Ramptest – Testpoint 1 – 1 - 3mm

Page 47: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:4

0

25

50

75

100

125

150

175

200

225

250

275

2250 2300 2350 2400 2450 2500 2550

Timescale 1=20ms

Forc

e

Vertical Ramptest – Testpoint 2 – 1 - 3mm

0

25

50

75

100

125

150

175

200

225

250

50 70 90 110 130 150 170 190 210 230 250 270 290

Timescale 1=20ms

Forc

e

Vertical Ramptest – Testpoint 3 – 1 - 3mm

Page 48: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:5

0

20

40

60

80

100

120

140

160

180

200

6480 6530 6580 6630 6680 6730 6780 6830

Timescale 1=20ms

Forc

e

Vertical Ramptest – Testpoint 4 – 1 - 3mm

0

10

20

30

40

50

60

70

80

90

6950 7000 7050 7100 7150 7200 7250 7300 7350 7400 7450

Timescale 1=20ms

Forc

e

Vertical Ramptest – Testpoint 5 – 1 - 3mm

Page 49: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:6

-50

0

50

100

150

200

250

255 257 259 261 263 265 267 269 271 273 275 277 279 281 283 285

Timescale 1=20ms

Forc

e

System delaytime chart – Testpoint 1 - Speed 2.5mm/s

0

50

100

150

200

250

300

667 669 671 673 675 677 679 681 683 685 687 689 691 693 695 697 699 701

Timescale 1=20ms

Forc

e

System delaytime chart – Testpoint 1 - Speed 5,0 mm/s

Page 50: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:7

0

50

100

150

200

250

300

350

1428 1430 1432 1434 1436 1438 1440 1442 1444 1446 1448 1450 1452 1454 1456 1458

Timescale 1=20ms

Forc

e

System delaytime chart – Testpoint 1 - Speed 10 mm/s

160

162

164

166

168

170

172

174

176

178

180

182

184

186

4840 4842 4844 4846 4848 4850 4852 4854 4856 4858 4860 4862 4864 4866 4868

Timescale 1=20ms

Forc

e

System delaytime chart – Testpoint 4 - Speed 2,5 mm/s

Page 51: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:8

110115120125130135140145150155160165170175180185190

3580 3582 3584 3586 3588 3590 3592 3594 3596 3598 3600 3602 3604 3606 3608 3610

Timescale 1=20ms

Forc

e

System delaytime chart – Testpoint 4 - Speed 5,0 mm/s

150155160165170175180185190195200205210215220225230

5250 5252 5254 5256 5258 5260 5262 5264 5266 5268 5270 5272 5274 5276 5278 5280 5282 5284 5286 5288 5290

Timescale 1=20ms

Forc

e

System delaytime chart – Testpoint 4 - Speed 10 mm/s

Page 52: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:9

Bodediagram – Testpoint 1 – Controller together with process

Page 53: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:10

Bodediagram – Testpoint 2 – Controller together with process

Page 54: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:11

Bodediagram – Testpoint 3 – Controller together with process

Page 55: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:12

Bodediagram – Testpoint 4 – Controller together with process

Page 56: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:13

Bodediagram – Testpoint 5 – Controller together with process

Page 57: Robot System with Feedback Control - DiVA portal215925/FULLTEXT01.pdf · external force sensor. It involves robot-programming, an electronic sensor, implementation of a feedback system

Robot systems and feedback control

Appendix F:14

Example of the working PI-controller with the set value at 200N

Test

of n

ew P

I-set

tings

020406080100

120

140

160

180

200

220 10

0017

5025

0032

5040

0047

5055

0062

5070

0077

5085

0092

5010

000

1075

011

500

Tim

esca

le 1

=20m

s

Forc

eSe

t Val

ueCo

ntro

ller O

utpu

t