scieee AI-readable full text Open interactive document viewer

Sensor táctil de 3 ejes para Robot

Calvo Sanz, Daniel

Abstract

Departamento de Ciencias de los Materiales e Ingeniería Metalúrgica, Expresión Gráfica en la Ingeniería, Ingeniería Cartográfica, Geodesia y Fotogrametría, Ingeniería Mecánica e Ingeniería de los Procesos de Fabricación

Full text

UNIVERSIDAD DE VALLADOLID ESCUELA DE INGENIERIAS INDUSTRIALES Grado en Ingeniería Electrónica industrial y Automática Sensor táctil de 3 ejes para Robot Autor: Calvo Sanz, Daniel Marta Herráez Sánchez Vilnius Tech Valladolid, junio, 2022. TFG REALIZADO EN PROGRAMA DE INTERCAMBIO TÍTULO: 3-axis touching sensor for Robot ALUMNO: Daniel Calvo Sanz FECHA: 07/06/2022 CENTRO: Faculty of Mechanics UNIVERSIDAD: Vilnius Tech TUTOR: Vytautas Bučinskas Abstract: Este proyecto se ha llevado cabo para realizar un sensor que pueda medir la forma de un objeto solo tocando y obteniendo las coordenadas del punto de contacto entre el sensor y el objeto. El cuerpo del sensor contara en su interior con 6 sensores táctiles en su interior hechos de cobre y el material Velostat. Cuando el robot se acerque al objeto y lo toque, solo 3 de los 6 sensores táctiles se comprimirán cuando el sensor toque al objeto, con la información de esos 6 sensores obtendremos mediante un algoritmo las coordenadas de la posición del punto de contacto entre ambos objetos. Todas las piezas se han diseñado manual y posteriormente se han impreso con una impresora 3D utilizando Acido Poliláctico (PLA). Palabras clave: táctil, velostat, compresión, cobre, robot Abstract: This project has been carried out to realize a sensor that can measure the shape of an object just by touching it and obtaining the coordinates of the contact point between the sensor and the object. The body of the sensor will have 6 touch sensors inside it made of copper and Velostat material. When the robot approaches the object and touches it, only 3 of the 6 tactile sensors will be compressed when the sensor touches the object, with the information of those 6 sensors we will obtain by means of an algorithm the coordinates of the position of the point of contact between both objects. All parts have been designed manually and then printed with a 3D printer using Polylactic Acid (PLA). Keywords: Tactile, velostat, compression, copper, robot VILNIUS GEDIMINAS TECHNICAL UNIVERSITY FACULTY OF MECHANICS DEPARTMENT OF MECHATRONICS, ROBOTICS AND DIGITAL MANUFACTURING Daniel Calvo Sanz THREE AXIS TOUCHING SENSOR FOR ROBOT Final Bachelor’s Project Study programme MECHATRONICS AND ROBOTICS, Code 612H73002 Vilnius, 2022 VILNIUS GEDIMINAS TECHNICAL UNIVERSITY FACULTY OF MECHANICS DEPARTMENT OF MECHATRONICS, ROBOTICS AND DIGITAL MANUFACTURING APPROVED BY Head of Department ______________________ (Signature) ______________________ (Name, Surname) ______________________ (Date) Daniel Calvo Sanz THREE AXIS TOUCHING SENSOR FOR ROBOT Final Bachelor’s Project Study programme MECHATRONICS AND ROBOTICS, Code 612H73002 Supervisor: __________________ _______ ______ (Title, Name, Surname) (Signature) (Date) Vilnius, 2022 Vytautas Bučinskas 2022 05 24 Vytautas Bučinskas 2022 05 24 VILNIUS GEDIMINAS TECHNICAL UNIVERSITY Daniel Calvo Sanz, (Student name and surname, Student ID) Faculty of Mechanics (Faculty) Mechatronics and Robotics, 20213660 (Study programme, academic group) COURSE PROJECT (WORK, INTEGRATED PROJECT) DECLARATION OF ACADEMIC INTEGRITY 10/05/2022 (Date) I confirm, that my course project (work, integrated project), which topic is Three Axis Touching Sensor for Robot is written independently. The material presented in this project (work, integrated project) is not plagiarized. Quotations from other sources used directly or indirectly are indicated in the literature references. The course project (work, integrated project) was inspected by: Vytautas Bučinskas There is no contribution of other persons to the course project (work, integrated project). I have not paid any statutory sums of money for this work. Signature (Name and Surname) Daniel Calvo Sanz 6 CONTENT VILNIUS GEDIMINAS TECHNICAL UNIVERSITY ............................................................ 3 COURSE PROJECT (WORK, INTEGRATED PROJECT) ................................................... 3 LIST OF PICTURES ...................................................................................................................... 7 LIST OF TABLES .......................................................................................................................... 8 INTRODUCTION .......................................................................................................................... 9 1. OWERVIEW OF ANALOGIC CONSTRUCTIONS .............................................................. 12 1.1. F-Touch sensor, University of London ............................................................................. 12 1.2. Optical Three-axis Tactile Sensor ..................................................................................... 14 1.3. Three-dimensional touch probe using three fibre optic displacement sensors ................. 17 1.4. Normal force measuring touch probe (NFMT) ................................................................. 20 1.5. Substantiation of the decision ........................................................................................... 23 2. CALCULATION OF PROJECT .............................................................................................. 25 2.1. Static analysis .................................................................................................................... 25 2.2. Frequency analysis ............................................................................................................ 26 2.1.1. Touching stick Frequency analysis ............................................................................26 2.1.2. Holder Frequency analysis .........................................................................................27 2.3. Design of the sensor parts ................................................................................................. 28 2.3.1. Touching Stick ...........................................................................................................28 2.3.2. Holder 2 ......................................................................................................................29 2.4. Calculation of touching coordinates ................................................................................. 30 2.5. Description of sensor operation ........................................................................................ 32 3. DESCRIPTION OF THE CONSTRUCTION AND OPERATIONAL PRINCIPLE .............. 33 3.1. Electric block scheme ....................................................................................................... 33 3.2. Algorithm of management of device or node ................................................................... 34 4. WORK SAFETY ...................................................................................................................... 37 4.1. General provisions and requirements for safe working and environmental protection .... 37 4.2 Calibration of the designing sensor .................................................................................... 38 4.3. Assembly of the sensor ..................................................................................................... 38 5. ECONOMIC CALCULATION ................................................................................................ 42 CONCLUSIONS .......................................................................................................................... 46 LIST OF LITERATURE .............................................................................................................. 48 Annex 1: Prototype Pictures .................................................................................................... 49 13 Figure 2 Schematic design of the F-TOUCH sensor Wanlin Li. Yohan Noh. F-TOUCH Sensor for Three-Axis Forces Measurement and Geometry Observation As we can see in Figure 2 the design of the sensor in three different parts. First is the coated elastomer (1) that isolates the Ambient light interference and reveals the tactile information. In second place, is the spring mechanism structure, composed with elastomer holder (2), springs (3), magnets (4) and force maker (5). Last part has 2 components, Logitech webcam (6) and SMD LED arrays (7) which are used for illumination and data capture. Coated elastomer is one of the parts that form the core oof the F-TOUCH design because sensitivity of the sensor can be affected by elastomers properties. Elastomer layer is composed by a reflective coating membrane and a transparent silicon base. Under the silicon elastomer is placed the internal spring mechanism structure (Figure 3). The structure is made up of a 3D printer elastomer holder, 24 magnets, 6 compression springs, 3 spherical markers in charge of measuring the three-axis force components and last one is a 3D printed bottom platform. Magnets connections are used to stabilize the overall structure and linearity of the structure is ensured by springs. 14 Figure 3 CAD design of the spring mechanism structure Wanlin Li. Yohan Noh. F-TOUCH Sensor for Three-Axis Forces Measurement and Geometry Observation . Movement of the marked are attached with springs’ deformation, the three markers made a plane that is always parallel with the bottom surface of the elastomer layer. When the sensor interacts with an object, the contact made compress the 6 springs and the platform which contains the 3 black markers is moved. The camera is used to capture the movement of the markers and the area changes that occur. 1.2. Optical Three-axis Tactile Sensor Device No. 2. Optical Three-axis Tactile Sensor by Ohka, M. Graduate School of Information Science, Nagoya University. Japan. The optical uni-axis tactile sensor (Masahiro Ohka, 2007) shown in Figure 4 includes an optical waveguide plate made of transparent acrylic and has a light source that illuminates the sensor along its edge. The light addressed to the plate remains inside it because of the total internal reflection that is generated. A rubber sheet with an array of conical feelers is place on the place on order to keep the contact between plate and array surface. 15 Figure 4 Optical uni-axis tactile sensor Masahiro Ohka, Yasunaga Mitsuya. An Experimental Optical Three-axis Tactile Sensor for Micro-Robots When an object makes contact (with pressure) with rubber sheet, the feelers collapse, in that point of contact of the feelers, light is in a diffuse way reflected out of the plate. This is in fact, because of the refractive index both materials have, rubber has it higher than the plate. The bright spots that are seen from plate’s reverse surface, is what allows to make the calculus of the distribution of contact pressure. Although, with this type of sensor can only detect forces that applied in a vertical way to the surface, so there will be some different methods to improve the uni-axial tactile sensor into three-axis sensor. One of this solution is to use a sparse matrix of columnar feelers which will make contact with the object. Another solution y a dense matrix of conical feelers that will be in contact with the plate. The columnar feeler is organised with few conical feelers, then when a force is pressing against the conical feeler you can obtain three components of the force by its contact area. The structure of the three-axis sensor tis shown in Figure 5, will count with a rubber sheet, an acrylic plate, a light source, and a CCD camera. 16 Figure 5 One columnar and four conical feelers three-axis sensor Masahiro Ohka, Yasunaga Mitsuya. An Experimental Optical Three-axis Tactile Sensor for Micro-Robots Detection surface and reverse surface will have 2 matrixes of columnar feelers with their conical feelers, respectively. The material which feelers are made is silicon rubber. The composition of the sensing elements of the tactile sensor is one columnar feeler followed by 4 conical feelers attached to the bottom of the columnar feeler. This is shown in Figure 6 (a) Figure 6 Three axis force detection mechanism Masahiro Ohka, Yasunaga Mitsuya. An Experimental Optical Three-axis Tactile Sensor for Micro-Robots 17 When the columnar feeler touches something and a force is pressing the feelers, the apex of the conical feeler gets tighten and collapse. With the area of the surface that conical feelers made with the sheet, the forces can be calculated. 1.3. Three-dimensional touch probe using three fibre optic displacement sensors Device No. 3. Three-dimensional touch probe using three fibre optic displacement sensors by Takaaki Oiwa and Hiroshi Nishitani. Most of the 3D touching sensors are a ball-stylus system, that has a ball as the touching part and then a tube that leads into de sensing zone, so there will be distance between the touching point and the sensor where the force is going to be measured. With the use of displacement sensor installed at the shaft, the displacement and direction measurement is done on the touching ball directly. The displuming sensor that are going to be used in this touch probe are high resolution fibre optic sensors (Takaaki Oiwa, 2004). Figure 7 Schematic of fibre optic displacement sensor Ohka, M. Optical Three-axis Tactile Sensor Basic fibre optic displacement sensor is how in Figure 7. The components this sensor usually has are a light source, a photodetector, and a bifurcated optical fibre bundle. This optical fibre bundle 18 will serve as illuminating fibres as well as receiving fibres. The operation of this sensor starts with the light leaving the light source and entering the illuminating fibres, then it’s going to go out and radiate the target surface. Some of the light is going to be reflected into the receiving fibres and will be detected by the photodetector. Figure 8 Basic 3D probe using three displacement sensors Ohka, M. Optical Three-axis Tactile Sensor Starting to talk about the 3D probe, in Figure 8 it’s shown a basic scheme of how it looks a 3D probe that uses three displacement sensors. In this type of sensor, an elastic material is going to connect the sensor tips with the ball. At the moment of touching the workpiece, the external force will move elastically the ball. Then the three-displacement sensor will measure the direction and displacement of the ball. The 3D probe has some advantages over the normal probe: accuracy should be higher; the three sensor measures the direction of the tip ball apart from the displacement; it is a possibility to miniaturize the probe system, friction has no influence except for the contact point; if the tube length increases, it will not have more than little effect in probe’s performance. The probe system it’s going to be used is shown in Figure 9. The fibre sensor used are the same I mentioned before. In this case, the tip of the shaft is lower than the rest of saft body to the tip being deflected by the contact of small forces. Instead, o the elastic body that is deformed used previously, in this case stem tip is going to do that work. To eliminate thermal expansion the shaft that is used will me made of Super-Invar. The ceramic ball and a gold-plated mirror are attached with rapid adhesive to the shaft tip. The displacement sensor will be located with angle difference of 120º between them 19 Figure 9 Sectional and detailed view of the probe system with three displacement sensors Ohka, M. Optical Three-axis Tactile Sensor Figure 10 Movement of the tip ball approaching a surface Ohka, M. Optical Three-axis Tactile Sensor 20 The movement of the ball and the mirror will increase or decrease the distance from the mirror to each of the displacement sensor. With that distances, displacement vector of the tip can be calculated. In Figure 10 we have an example of how the tip ball approaches a surface and it show the movement of the ball and how the mirror inclines in different direction of the movement. 1.4. Normal force measuring touch probe (NFMT) Device No. 4. Normal force measuring touching probe by Jae-jun Park and Kihwan Kwon. Reference 4 Normal force measuring Touch probe (NFMT) (Jae-jun Park, 2006) is s sensor that will be used for coordinate measuring machines (CMMs). These machines can measure coordinates of spatial points only by touch the surfaces where this point is. This sensor normally has a stylus and attached to it a tip ball that is what will be in touch with the surface. It is preferred that data is collected from the tip ball contact pint with the measuring surface. But normally, in this area of study, most of the sensor used for CMMs measure the coordinate by reading the position of the centre of the tip ball as its seen in Figure 11. Then they estimate the contact point from the radius of the tip ball. Figure 11 Movement of the tip ball approaching a surface Jae-jun Park, Kihwan Kwon. Development of a coordinate measuring machine (CMM) touch probe using a multi-axis force sensor 21 By the way, the exact contact point of the probe tip is almost impossible to calculate if the surface of studying is inclined and pretravel errors exists. Al of this errors can be compensated if the touching probe can give sufficient three-dimensional information about the forces it is measuring. With NFMT probe orthogonal vectors are used to stand for the probing forces and can estimate pretravel variation and the contact point between the workpiece and the tip ball. NFMT is a sensor that will measure the contact force vector, this vector is normal to the touching surface in the point of contact. The structure of the NFMT, shown in Figure 12, consists of a stylus with an attached tip ball, then it has a 3 elastic legs in form of a tripod structure that is elastically deformed when the probing force is applied. Figure 12 Structure of the NFMT Jae-jun Park, Kihwan Kwon. Development of a coordinate measuring machine (CMM) touch probe using a multi-axis force sensor 22 Figure 13 Prototype of the NFMT Jae-jun Park, Kihwan Kwon. Development of a coordinate measuring machine (CMM) touch probe using a multi-axis force sensor Each of the legs have four strain gauges which transduce the deformation of the leg into and electric signal, those four strain gauges are electrically connected to form a whetstone bridge circuit. The tip ball is made of a spherical ruby, it has a diameter of 3 mm and is adhered to the stylus that is in the center of the tripod leg’s structure. The stylus has a length of 40 mm and is made of stainless steel. The elastic deformable sensing part that each leg has is made from 7022 aluminum. The shape of the sensing part will be a rectangular cube with a hole of 6 mm of diameter crossing it. The positions of the strain gauges will be determined by FEM analysis. Th position where the strain is maximum is where the gauges will be attached in the sensing part. The resistance of the strain gauge is 350 Ω and the gauge factor 2095. The prototype of this sensor is shown in Figure 13. 29 Figure 20 Touching stick part of the sensor 2.3.2. Holder 2 This part of the sensor is in charge of having inside the copper contacts, the resistive material, and the cylindrical base of the sensor stick. As it is shown in Figure 21, there are 3 rectangular holes in the design, that is because cables connected to the resistive material are going to go through these holes. Figure 21 Holder 2 part of the sensor 30 As well the 3 guidance projections that the touching stick has, have the same size as these holes to make the touching stick unable to rotate about his Z-axis. 2.4. Calculation of touching coordinates The purpose of the touching sensor is to calculate the coordinates of the contact point between the tip ball and the touching surface. The algorithm for the calculus will consist in the following steps. The first thing will be to obtain which 3 touching sensors are compressed; with that information the calculation part can start. The robot sensing part is going to be distributed like shown in Figure 22. With the areas ABC in the bottom part and DEF in the top part of the sensing zone. Figure 22 Contact zones These different zones are obtained with the measure of the 3 sensors that are being compressed. Each of the zone is composed with the next combination of sensors: Zone A: 1-2-6 Zone B: 2-3-4 Zone C: 3-1-5 Zone D: 4-5-3 Zone E: 5-6-1 Zone F: 6-4-2 31 Knowing the zone is the first par for obtaining the coordinates of the contact point. The coordinates will be calculated from the coordinates of the sensor. Each of the sensors (1 to 6) will have the coordinate of the angle they made with the horizontal reference of the robot. Each of the touching zones that are described in this section have a similarity, in all of them there are 2 sensor that are in the same part of the sensing zone (top or bottom), for the next calculations we are only going to work with those 2 sensors information that will provide X and Y coordinates. Then with the sensor in the other part the Z coordinate will be obtained. When calculating the arc length, we will use Equation 1. In this equation we have some data needed to obtain the result: R, is the radius of the arc, in pour case it will be the radius of the tip ball; α, is the angle that the arc has from the reference point, the position where you want to calculate the arc length. 𝐿𝐿𝛼𝛼=2⋅𝜋𝜋⋅𝑅𝑅⋅𝛼𝛼 360 (1) The problem now we have is how to get the angle. This is going to be calculated with formula that has Equation 2. There, we take the reference of the sensor that is in the left and use the resistance information to calculate the contact angle between them. 𝑅𝑅1⋅𝑃𝑃 =𝑅𝑅2⋅(120 −𝑃𝑃) (2) R1 is the resistance value of the sensor that is placed more left in the circle between both. R2 is the resistance value of the other sensor. P is the value of angle where the force is applied, it is referenced to the position of R1. R1 can be any of the 6 sensors, when knowing what 2 sensors are we working with, the reference coordinate of R1 will be added to know the exact angle that the contact point has with the reference axis of the robot. After knowing the angle, we can obtain the coordinates x y and z of the touching point. The z coordinate is going to be calculated with a direct proportion of the resistance on the other side that has been compressed. 𝑅𝑅=�𝑥𝑥2+𝑦𝑦2+𝑧𝑧2 (3) 𝑥𝑥=𝑅𝑅 ⋅cos (𝛼𝛼) (4) 32 𝑦𝑦=𝑅𝑅 ⋅sen (𝛼𝛼) (5) In the Equation 3, the values of x and y coordinates can be changed for the value of Equations 4 and 5. Its only needed to change 1 of the equations because the z value is known, and the value of R, the radius of the tip ball, is known too. After that both values are obtained, and the touching point coordinate can be represented in the space. 2.5. Description of sensor operation The design of the sensor and the operation of this one is the goal of this project. The sensor is a tool that is going to be attached to a robotic arm. As all the tools that are used in a robotic arm, this sensor has a specific purpose and has a specific operation principle. As is has been previously said, the sensor will have purpose of touch the object surface and get the coordinates in the space from the contact point between the sensor and the object surface. The operational principle of the sensor is the following. The complete sensor counts with 6 small touching sensor that are made with Copper and Velostat, these sensors will analyze the variation in resistance that occurs between the 2 copper contacts. When the resistance between the contacts decreases, pression is being applied to the touching sensor. That is because velostat is a semiconductor that works at compression. The robotic arm with the sensor as his tool will approach the surface of the object that is being analyzed. When the contact is made, three of the small touching sensors will experiment decrease in resistance. Only three out of the six sensors will experiment resistance decrease, and it is because of the location of the sensor. Like it was shown in Figure 22, there will be 2 touching sensors placed in the same location, one in the top surface and the other y the bottom surface, so only one of the two sensors will be compressed. With the resistance values of the sensor the 3 sensors, a calculation algorithm will be implemented and will get the value of the contact point coordinates in the space. When all the coordinates are obtained, the object form can be reproduced and analyzed. 33 3. DESCRIPTION OF THE CONSTRUCTION AND OPERATIONAL PRINCIPLE 3.1. Electric block scheme The electric-block scheme, shown in Figure 23, is composed of 2 differenced parts that are connected to each other. The first one is the electric scheme of the Motoman robot, it will count with the 380 V power source connected to the Motoman NX1000 controller (Robots.com), NX1000 controller is the one in charge of sending the instructions. The controller will not send the information directly to the motors, each motor has a driver to control it and the information will be sent there. After that, the driver controls the motor movement. Figure 23 Electrical block scheme Daniel Calvo Sanz, 2022 The other part of the electric-block scheme is the part connected to the touching sensors. This sensor will count with 2 copper contacts connected to an Arduino forming a similar object like a potentiometer. This sensor part is connected to and Arduino, then the Arduino will be connected to Motoman NX1000 controller and will tell him what coordinates it needs to record. 34 3.2. Algorithm of management of device or node Figure 24 Control algorithm 35 Control scheme of the project, shown in Figure 24, introduce to the operation of the project. This control algorithm will start with robot being turned on, it’s the first step to begin the execution of the program in a proper way. Then it’s the time to prepare the program and insert it in the robot. When the program is ready to be executed, the object that it is going to be measured is placed in the working area of the robot, and the execution of the program starts. Like it can be seen in Figure 24, the control algorithm has 4 big set of blocks that are repeated, this is because the direction movement of the robot will change but the calculation algorithm of the touching coordinate will be the same for every movement. The movement of the robot will have 4 different paths, from left to right, form right to left, from up to down and from down to up. This have been chosen because with these 4 paths of movement, all the surface of the object can be measured. The robot will move the arm starting from left to right as shown in Figure 25, the following movements of the robot will be with the same direction but changing the y coordinate. The robot starts the movement and gets data from the sensor, if the robots finish the movement without detecting any force (no change in the data that is obtain from the sensor), the coordinate y of the movement will be decreased and the movement will start gain, as long as any pressure has been previously detected. Figure 25 Movement path of the of the robot If there is pressure detected, the program will look for the touching sensors (sandwich made with copper and velostat) that have their resistance decreased. Even if there are 6 touching sensors, only 3 of them will have their resistance decreased and with that information it can be known where the touching come from. V(t) 36 When the 3 sensors are obtained, the impact zone where the touching point is located is calculated next. After that the algorithm to calculate the angle and the coordinates of the contact point. The calculus will only be made with the information of the 3 sensors that are selected in the previous step. When the angle is calculated, the next step is to get the coordinates of the contact point from that angle information and the diameter of the tip ball. If the calculated angle is not valid, the calculation will be repeated until a valid result is obtained. These coordinates will be saved. After the calculations are finished, the coordinates information are saved. The touching finishes in the moment the coordinates are saved, and the robot then proceeds to move away to do the next movement. After that there is one variable that gets the value “1”. This variable is called “Cont” and is the indicator that the sensor has touched at least in 1 occasion the working object. Finally the coordinates for the starting of the next movement are upgraded. If this variable “Cont” has the value 1, and the robot finishes his movement without touching any part of the working object, it’s the indicator that indicates the finalizing of the analysis of the object with that movement direction. The robot will change the path to the next path that has been programed. The algorithm is exactly the same as it has been describen, the only different thing will be the direction of the movement and the name of the variable “Cont” that will have the address of the path that the movement is following. At the time the fourth paths are finished, finally, the object is completely analyzed, and the robot will stop in a safe position. After that the execution of the program ends. 37 4. WORK SAFETY 4.1. General provisions and requirements for safe working and environmental protection The creatin object will wok attached to a robot arm. Safety when working with robots is always a necessary thing because workers and students that work with the robot can get hurt if the necessary precautions are not taken. Here we are going to discuss the safe initial set up and safety procedures that are important. There are some important standards in work safety with robots (Illinois Robotic Group), these are the following: ISO/TS 15066 specifies requirements of security for collaborative robots’ systems and their work environment. Provides general provisions and requirements for the safe operation and protection of working with similar devices and equipment. Safety rules while working with robots: - Remove the obstructions can be on the robot area - Revise if the Robot is damaged - When approaching to a damage part, remove the power and wear protective clothes - Remove clothes that are loose fitting like sleeves, ties, scarves… - In case of long hair, it is needed to have it tied up - Headphones or anything that can distract you must not be - Remove all the technological pendant the workspace - Locate emergency stop pushbutton. Emergency stop pushbutton must be accessible for operators who work inear the robot area. This button stops the power of the robot and all the external devices. The position where devices must go after that is a save position - Use of protective equipment: safety glasses, boots - All people must be outside the working area of the robot. This can be done in different ways: o Light curtains: A beam of light can be used to stop people from entering the working area forming a light grid. The light grid works as an emergency stop pushbutton when a person come into the work area of the robot. o Barricades: physical obstruction can prevent people from entering the zone. o Safety mats: they have pressure sensor that notices when someone steps in and disconnect the robot. o Sign and tape: around the working area can be placed a lot of warning signs. The workspace of the robot should be marked with black and yellow tape around it, to advise about the zone. 38 4.2 Calibration of the designing sensor The use of the sensor made with Velostat (Sean, 2016), and copper contacts can have irregularities in the results of the resistance that are obtained. Therefore, the calibration, and the colocation of this sensors are crucial for obtaining the best result as possible. In order to make the less possible errors while measuring, the position where the copper contact is going to be placed will be marked and every week the position of the copper contacts will be checked. The velostat plate will not move, because it will have the exact size, this will help because calibration of this part of the sensor will not be needed, and it prevents failures in the measures to happen. Apart from the check in the position of the copper contacts, it is needed to know if the measures of the contact point are okey, so there will be provided some calibration models and simulations that will run the program to check the correct operation of the sensor. The calibration method that is going to be used is the following: 1. Check position of copper contacts 2. Complete assembly 3. Mount in the robot 4. Approaching perpendicularly to the top surface od the calibration model 5. Measuring of some calibration points 6. Verification of the results obtained 4.3. Assembly of the sensor The sensor that has been designed has a multiple of pieces that need to be assembled. Due to the variation of the different assemblies, each of them will be discuss individually, and then the assembly of the whole sensor is going to be explained. The first part to be assembled is the Adaptor, this piece is going to be used to join the arm of the robot with the Holder component of the sensor. This Adaptor has 3 differenced pieces that will need to assemble, the first one, is the base of the piece, that counts with 2 cylinders, one bigger for the base and one smaller for the body. The body cylinder will be assembled with this piece through glue, and the glue will be used in the flatted part and the wall as its shown in Figure 26. 45 Now, that it is known the total of the manufacture cost, the fixed cost and the selling, it is time to see what is the quantity of products that need to be sold in order to get profit about the selling’s. This is displayed in Fig 30. Benefits will appear from the selling of 266 pieces, after that, the benefits start to get even bigger than the total of the costs. In order to verify the result of the break-even point obtained in Figure 30, the calculus will be shown (Martha Isabel Gutierrez, 2007). 𝐵𝐵=𝑈𝑈𝑚𝑚𝑚𝑚𝑈𝑈𝑠𝑠 𝑠𝑠𝑊𝑊𝑠𝑠𝑠𝑠 ⋅𝑆𝑆𝑊𝑊𝑠𝑠𝑠𝑠𝑚𝑚𝑚𝑚𝑆𝑆 𝑝𝑝𝑊𝑊𝑚𝑚𝑊𝑊𝑊𝑊 =𝑋𝑋 ⋅22 (7) 𝐶𝐶=𝑈𝑈𝑚𝑚𝑚𝑚𝑈𝑈𝑠𝑠 𝑚𝑚𝑠𝑠𝑚𝑚𝑚𝑚𝑊𝑊𝑠𝑠𝑊𝑊𝑈𝑈𝑚𝑚𝑊𝑊𝑊𝑊𝑠𝑠 ⋅𝑀𝑀𝑠𝑠𝑚𝑚𝑚𝑚𝑊𝑊𝑠𝑠𝑊𝑊𝑈𝑈𝑚𝑚𝑊𝑊𝑊𝑊 𝑊𝑊𝑊𝑊𝑠𝑠𝑈𝑈 +𝑊𝑊𝑚𝑚𝑥𝑥𝑊𝑊𝑠𝑠 𝑊𝑊𝑊𝑊𝑠𝑠𝑈𝑈𝑠𝑠 = 𝑋𝑋⋅15.488 +1730 (8) . 𝑋𝑋 ⋅22 = 𝑋𝑋 ⋅15.488 +1730 → 𝑋𝑋 =265.67 (9) The equation to calculate the benefit is equation 7 (Econosublime, 2021), in this equation the benefit (B) is calculated as the number of products sold multiplied by the selling price. The equation of the total cost (C) equation 8, its calculated as the manufacture cost multiplied by the number of products manufactured, and that number is added to the fixed cost of the project. If we make both equation equal, we obtain the number of sensors that are sold in the break-even point (X), this is shown in equation 9 As we can observe the result of the calculus is the same, 266 units of the product are needed to make profit in this project. 46 CONCLUSIONS 1. The research of similar sensor that are in the market have helped to improve the initial idea that the project has. All the information researched is in a way a possible solution for the work that can be done. But not all the research that have been shown are completely valid. Some of them have different characteristics or are used in other type of situation. Apart from that, they have different types of touching systems, some of them are more suitable for the work is needed in this project and other less but learning from the design and the different measure methods have helped to upgrade the initial design that the sensor has and the measure mechanism. 2. There are different calculations that have been done in this project. The first type of analysis that was executed was the static analysis, but in this case, it was the analysis of the touching stick only. This analysis showed that even the force being applied to the tip ball, the part that suffers more from tensions is the stick itself, but the part that has more displacement is the tip ball. The second of them is the frequency analysis of the designed components. In the analysis of the touching stick, the stick is the most problematic part, due to the fragility of the plastic, even it is printed with a 100% infill, it is hard not to be deformed if the frequency goes up. The first harmonic is obtained in the frequency of 84.13 Hz. A reinforcement will be added to give the stick more stiffness. In the frequency analysis of the assembly of parts formed by Adaptor, Holder, and Holder 2, it was needed to put all the fixed joints. The results will describe de most problematic part the Holder 2 component, that has a reason, because this component has only 3 joints with Holder part, added to that, the bolts that are used are smaller too. The first harmonic obtained in the frequency analysis fir this component is 180.91 Hz The calculation algorithm used to obtain the touching coordinates has a peculiar method and it is the division into different touching zones, this thing will make the code bigger but at the same time it will make it simple, because there will only be needed to make different cases and add the necessary value to the calculation variables. 3. The electric block scheme provides the information of how everything is connected in the sensor and from the sensor to the robot. The different connections that are present have different colours to differentiate between them. 47 In the control algorithms there was a large variety of possibilities about how to obtain the coordinates. The algorithm used is efficient because it finishes the path when there is no more object to analyse, that saves time and at the same time money. It was distributed in four different paths to prevent point to being forgotten to measure and to reinforce the measures accuracy in corners and edges. 4. Working with robotic arms could be a dangerous work, there is always a possibility to get injured if the robot fails or if a check is being applicated to the robot. That is the reason of the work safety section and the application of the rules and the different advises that are explained. If all the rules that are described in this section are followed there won’t be any problem and the work with the robot will be done in a safety way. The calibration of the robot is done in the way that it doesn’t causes any trouble for the proper work of the sensor and makes the less failures as possible. The assembly of the sensor has been designed to be as simple as possible using bolt and nuts as joint elements in the majority of the assembly. Due to the difference in the sensor parts different metrics were used to adapt the assembly and make it very resistant. 5. Everything has a cost of money; this project is not an exception. The design of the sensor was done in a way that printing material (PLA) and printing time are saved, this will make the sensor price lower. The business that is pretended to be done with this project is from the selling of the sensor. The profit will start when the number of sensors sold exceed 266. It is a normal number of selling due to the high amount of fixed cost that are included in the construction and preparation of the sensors. 48 LIST OF LITERATURE (In this section is written in alphabetical order all used literature) 1. 330 ohms. ¿What is Velostat? https://blog.330ohms.com/2021/06/07/que-es-el-velostat (2021) 2. Arduino References () https://www.arduino.cc/reference/es/ 3. Axis Skin Sensor Module. Sensors (Basel). 2020;20(11):3128. Published 2020 Jun 1. doi:10.3390/s20113128 4. Development of a coordinate measuring machine (CMM) touch probe using a multi-axis force sensor. Jae-jun Park et al 2006 Meas. Sci. Technol. 17 2380 5. Diwo (2015). http://diwo.bq.com/los-bucles-for/ 6. Econosublime. Ingresos, costes y beneficios. www.econosublime.com/2017/09/que-es- beneficio-como-calcular.html 7. ELECTRJUANYU. 2019. Crea tus propios sensores flex con velostat para Arduino. www.youtube.com/watch?v=wZdqstTkG-c&t=856s&ab_channel=ELECTROJUANYU 8. Ilinois Robotic Group. Robot Manipulator Safety Rules. 9. Instructables circuits. Preasure sensors with Velostat. 10. Julian Montero (2018). Graficar el Punto de Equilibrio con Excel. www.youtube.com/watch?v=w3MYphvLtWU&ab_channel=Juli%C3%A1nMontero 11. Li, Wanlin & Noh, Yohan & Alomainy, Akram & Vitanov, Ivan & Zheng, Yu & Qi, Peng & Althoefer, Kaspar. (2020). F-TOUCH Sensor for Three-Axis Forces Measurement and Geometry Observation. 10.1109/SENSORS47125.2020. 9278600.. 12. M. Ohka (2007). Optical Three-Axis Tactile Sensor, Mobile Robots: Perception & Navigation, Sascha Kolski 13. Martha Isabel Gutierrez. Estimated costs and benefits. 14. Robot Motoman SSF2000 https://www.robots.com/robots/motoman-ssf2000 15. Sean (2016). How to Setup Pressure Sensitive Fabric with Velostat and Conductive Fabric. www.youtube.com/watch?v=8SQOBF0_80Y&t=1s&ab_channel=Sean 16. Stacey Mulcahy (2015). Creating pressure sensor with Velostat and Conductive Thread. www.youtube.com/watch?v=lPxr8RTkFOQ&ab_channel=StaceyMulcahy 17. Takaaki Oiwa and Hiroshi Nishitani 2004 Meas. Sci. Technol. 15 84 18. Y. Luo et al., "A Flexible Tactile Sensor for Three-dimensional Force Detection Based on Piezoelectric Sensing," 2021 IEEE 16th International Conference on Nano/Micro Engineered and Molecular Systems (NEMS), 2021, pp. 1908-1911, doi: 10.1109/NEMS51815.2021.9451507. 49 Annex 1: Prototype Pictures Figure 31 Prototype 1 50 Figure 32 Prototype 2 51 Annex 2: Arduino code //A0, A1 y A2 will be the sensors conected to the botton part of the sensing zone //A0, A4 y A5 will be the sensors conected to the top part of the sensing zone void setup() { pinMode(A0,INPUT); pinMode(A1,INPUT); pinMode(A2,INPUT); pinMode(A3,INPUT); pinMode(A4,INPUT); pinMode(A5,INPUT); Serial.begin(9600); } void loop() { float volt0 = 3; //analogRead(A0); float volt1 = 12;//analogRead(A1); float volt2 = 16;//analogRead(A2); float volt3 = 8;//analogRead(A3); float volt4 = 25;//analogRead(A4); float volt5 = 5;//analogRead(A5); float volts[] ={volt0, volt1, volt2, volt3, volt4, volt5}; int maxind1=0; int maxind2=0; int maxind3=0; float max1=0; float max2=0; float max3=0; float V1; float V2; float V3; double angoff; double ang; double x; 52 double longc; int R= 0.005; double xcoord; double ycoord; for (int i=0; i<6; i++) { float v= volts[i]; if (v>=max1 && v>max2 && v>max3) { maxind3= maxind2; max3= max2; maxind2= maxind1; max2= max1; maxind1=i; max1=v; } if (v<max1 && v>max2 && v>max3) { maxind3= maxind2; max3= max2; maxind2= i; max2=v; } if (v<max1 && v<max2 && v>max3) { maxind3=i; max3=v; } } if ((max1==0 && max2==1 && max3==5)||(max1==0 && max2==5 && max3==1)||(max1==1 && max2==0 && max3==5)||(max1==1 && max2==5 && max3==0)||(max1==5 && max2==0 && max3==1)||(max1==5 && max2==1 && max3==0)) { 53 // Zone A; V1=volts[0]; V2=volts[1]; V3= volts[5]; angoff=0; } if ((max1==1 && max2==2 && max3==3)||(max1==1 && max2==3 && max3==2)||(max1==2 && max2==1 && max3==3)||(max1==2 && max2==3 && max3==1)||(max1==3 && max2==1 && max3==2)||(max1==3 && max2==2 && max3==1)) { // Zone B V1=volts[1]; V2=volts[2]; V3= volts[3]; angoff= 120; } if ((max1==0 && max2==2 && max3==4)||(max1==0 && max2==4 && max3==2)||(max1==2 && max2==0 && max3==4)||(max1==2 && max2==4 && max3==0)||(max1==4 && max2==0 && max3==2)||(max1==4 && max2==2 && max3==0)) { // Zone C V1=volts[0]; V2=volts[2]; V3= volts[4]; angoff= 240; } x= (V2/(V2+V1))*120; ang = x + angoff; xcoord=R*cos(ang); ycoord=R*sin(ang); delay(10000); // Delay 1ms } 54 Annex 3: Bill of Materials EN Lan Page Date 13/05/2022 Release SignDrown by: Daniel Calvo Sanz Approved by VGTU Educational Document status Material Type of document Consulted by 0HFKDWURQLFV Responsible department Scale Additional information Tittle &RQWURO$OJRULWKP Owner Case No. /7 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 A A B B C C D D E E F F EN Lan Page Date 13/05/2022 Release SignDrown by: Daniel Calvo Sanz Approved by VGTU Educational Document status Material Type of document Consulted by Mechatronics Responsible department Scale Additional information Tittle (FRQRPLFV Owner Case No. /7 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 A A B B C C D D E E F F