Upgrade of the polymer filament extrusion device
Full text
UNIVERSITY OF LJUBLJANA Faculty of Mechanical Engineering Upgrade of the polymer filament extrusion device Master's thesis of the Erasmus+ Student Mobility for Studies programme Oriol Castro Soldevila Ljubljana, August 2023
UNIVERSITY OF LJUBLJANA Faculty of Mechanical Engineering Upgrade of the polymer filament extrusion device Master's thesis of the Erasmus+ Student Mobility for Studies programme Oriol Castro Soldevila Mentor: Assoc. Prof. Dr. Joško Valentinčič Co-mentor: Assist. Prof. Dr. Izidor Sabotin Ljubljana, August 2023
Note: Thesis must be submitted in linguistically and terminologically correct English language. The student must submit and defend his/her thesis during his/her study exchange at the Faculty of Mechanical Engineering, University of Ljubljana. Aškerčeva cesta 6 1000 Ljubljana, Slovenia phone 00386 1 47 71 200 fax 00386 1 25 18 567 [email protected] THESIS TOPIC APPLICATION Erasmus+ Student: Oriol Castro Soldevila Study Programme: Erasmus+ Student Mobility for Studies Thesis topic for: Master’s Thesis Number of the thesis topic: MAG II/2009 E Thesis topic title in English language: Upgrade of the polymer filament extrusion device Thesis topic title in Slovene language: Nadgradnja extruderja za filament Disposition of the thesis in English language: The master's thesis focuses on the production of high-quality 3D printing filament using PLA pellets and the Filastruder machine. Building upon the previous work of another student, this research explores the use of a Raspberry Pi Pico controller with Micropython to manage the operation of the Filastruder, including controlling fans, a puller, and a measuring system. The aim of the thesis is to optimize the production process to ensure consistent and reliable filament quality for use in 3D printing applications. The methods used in this thesis will be primarily practical in nature and will be adjusted depending on the results obtained and the properties of the PLA pellets used. The research will involve testing different variables, such as temperature of the nozzle and speed of the puller, to determine the optimal conditions for producing high-quality filament with consistent properties. As such, the methodology used in this thesis will be dynamic and flexible, allowing adjustments of the different variables of the system like the speed of the puller based on the filament diameter and controlled by the Raspberry Pi Pico controller, the position or inclination of the Filastruder, the amount of pellets that are fed to the cilinder with a screw, the tempreature of the nozzle and the extra heater on the cylinder. Disposition of the thesis in Slovene language: Magistrsko delo se osredotoča na eskrtuzijo filamentov za 3D-tiskanje. Na podlagi predhodnega dela drugega študenta bo v raziskavi uporabljan krmilnik Raspberry Pi Pico s programom Micropython za upravljanje delovanja stroja Filastruder, vključno z nadzorom ventilatorjev, vlečnega in merilnega sistema. Cilj diplomske naloge je določiti parametre ekstruzije, da se zagotovi konstanten premer filamenta. Naloga je praktične narave in metode dela bodo prilagojene glede na dobljene rezultate in lastnosti uporabljenih peletov iz polilaktične kisline (PLA). V nalogi bomo
Note: Thesis must be submitted in linguistically and terminologically correct English language. The student must submit and defend his/her thesis during his/her study exchange at the Faculty of Mechanical Engineering, University of Ljubljana. določili primerne vrednosti parametrov eklstruzije, kot sta temperatura in hitrost vlečnja, da zagotovimo izdelavo filamenta z izbranim premerom. Zato bo metodologija, uporabljena v tej disertaciji, dinamična in prilagodljiva ter bo omogočala prilagoditve različnih spremenljivk sistema, kot je hitrost vlečenja glede na premer filamenta krmiljena s krmilnikom Raspberry Pi Pico, položaj ali naklon Filastruderja, količina peletov, ki jih dovajamo v cilinder s polžem, temperaturi šobe in dodatno prigrajenega grelca na cilindru. Mentor: Assoc. Prof. Joško Valentinčič Co-mentor: Asst. Prof. Izidor Sabotin Date of topic approval: 5. 5. 2023
v Acknowledgments First, I would like to thank my mentor, assoc. prof. dr. Joško Valentinčič and my co-mentor assist. Prof. dr. Izidor Sabotin, for their dedicated knowledge and help in the preparation of my thesis. I would also like to thank all the other members of the lab, who were always willing to help. Special thanks go to my parents, who made my studies possible and supported me unconditionally in my academic career. I would also like to thank my friends I met during Erasmus+, with whom I spent long evenings in the library and with whom we supported each other. And finally, I would also like to thank the University of Ljubljana and the Universitat Politècnica de Catalunya for making it possible for me to live this Erasmus+ experience.
xii
xiii Table of contents Table of figures .............................................................................................................. xv Table of tables ............................................................................................................... xix List of symbols used ...................................................................................................... xxi List of abbreviations used .......................................................................................... xxiii 1 Introduction ................................................................................. 1 1.1 Background of the problem ................................................................................ 1 1.2 Objectives ............................................................................................................. 2 2 Theoretical foundations and literature review ........................ 3 2.1 Overview of additive manufacturing technologies ........................................... 3 2.2 Filament production techniques ......................................................................... 5 Common types of filaments for FFF ................................................................ 5 2.2.1.1 ABS...................................................................................................................... 5 2.2.1.2 PLA ...................................................................................................................... 6 Standard filament diameters ............................................................................. 7 Techniques to produce the filament .................................................................. 7 2.2.3.1 Extrusion .............................................................................................................. 8 2.2.3.2 Pulling .................................................................................................................. 8 2.2.3.3 Polyformer ........................................................................................................... 9 2.3 PLA pellets and their properties ........................................................................ 9 2.4 Filastruder machine and its operation ............................................................ 12 2.5 Raspberry Pi Pico microcontroller and Micropython programming .......... 15 2.6 Previous research ............................................................................................... 16 Measuring system ........................................................................................... 16 Pulling system ................................................................................................. 17 Upgrade of the Filastruder with a pulling system ........................................... 20 3 Research methodology .............................................................. 23 3.1 Materials and equipment .................................................................................. 23 Materials ......................................................................................................... 23 Experimental equipment ................................................................................. 24 3.2 Filament production process ............................................................................ 26
xiv 3.3 Raspberry Pi Pico setup and programming ................................................... 29 3.4 Measuring system design .................................................................................. 32 3.5 Experimental design and procedure ................................................................ 33 First setup: vertical setup of the extruder ....................................................... 33 Second setup: horizontal setup of the extruder............................................... 35 Third setup: additional heater band on the extruder barrel ............................. 36 Fourth setup: addition of the measuring system ............................................. 39 4 Results and analysis .................................................................. 43 4.1 Results ................................................................................................................ 43 Calibration of the measuring system .............................................................. 43 Experiments performed with the first setup ................................................... 44 Experiments performed with the second setup ............................................... 45 Experiments performed with the third setup .................................................. 46 Experiments performed with the fourth setup ................................................ 47 4.2 Analysis .............................................................................................................. 48 5 Discussion .................................................................................. 61 6 Conclusions ................................................................................ 65 Bibliography ................................................................................... 67 Appendix ......................................................................................... 70
xv Table of figures Figure 2.1: FFF 3D printers [6] .......................................................................................................... 4 Figure 2.2: FFF technique [6] ............................................................................................................ 4 Figure 2.3: 3D filament spool [7] ....................................................................................................... 5 Figure 2.4: ABS's recommended print settings [9] ............................................................................ 6 Figure 2.5: PLA's recommended print settings [10] .......................................................................... 6 Figure 2.6: Extruder system scheme [13] ........................................................................................... 7 Figure 2.7: Pulling technique scheme [15] ......................................................................................... 8 Figure 2.8: Example of a DIY filament exturder [16] ........................................................................ 8 Figure 2.9: Polyformer machine [17] ................................................................................................. 9 Figure 2.10: a) Structural chemical formula of Polylactic acid (PLA) [18]. b) PLA pellets [19] ...... 9 Figure 2.11: Pellets' production process [22] ................................................................................... 11 Figure 2.12: Filastruder machine [23] .............................................................................................. 13 Figure 2.13: Raspberry Pi Pico microcontroller [25] ....................................................................... 15 Figure 2.14: Hall-effect sensor [27] ................................................................................................. 17 Figure 2.15: Components of the measuring system and implementation to the microcontroller [27] .................................................................................................................................................. 17 Figure 2.16: Stepper motor scheme and NEMA 17 stepper motor [29] .......................................... 18 Figure 2.17: Schematic of the basic principle of operation of the drive system [29] ....................... 18 Figure 2.18: Design of the pulling system [29] ................................................................................ 19 Figure 2.19: Circuit used to control the stepper motor [29] ............................................................. 19 Figure 2.20: Prototyping board bus used in the thesis [31] .............................................................. 21 Figure 3.1: HDPE pellets [32] .......................................................................................................... 24 Figure 3.2: PLA pelelts [33] ............................................................................................................. 24 Figure 3.3: Filastruder's equipment to extrude the filament ............................................................. 25 Figure 3.4: Prototyping board used in the thesis [31] ...................................................................... 25 Figure 3.5: Power supplies used to provide voltage to the prototyping board and the additonal heater band [34] ........................................................................................................................ 26 Figure 3.6: Calliper [35] ................................................................................................................... 26 Figure 3.7: Silica gel bags [36] ........................................................................................................ 27 Figure 3.8: a) Filastruder control panel. b) Power supply of the additional heater band control panel .................................................................................................................................................. 27 Figure 3.9: Condition of the pellets as they move through the extruder barrel. Direction of extrusion is form left to right side of the figure ........................................................................................ 28 Figure 3.10: Mass bulb of PLA created by the filament while it can't be handled .......................... 28 Figure 3.11: PLA filament obteined after the extrusion process ...................................................... 29 Figure 3.12: Implemented code to record filament measurements .................................................. 30 Figure 3.13: Modification made in the microcontroller code .......................................................... 31 Figure 3.14: Python 3 program for calibrating the measuring system ............................................. 31 Figure 3.15: Code that controls the stepper motor ........................................................................... 32
xvi Figure 3.16: Drill bits ....................................................................................................................... 33 Figure 3.17: First setup of the Filastruder ........................................................................................ 34 Figure 3.18: Second setup of the Filastruder .................................................................................... 35 Figure 3.19: Additional heater band fastened into the extruder barrel ............................................. 36 Figure 3.20: Additional heater band and setup to check the temperature it reaches ........................ 37 Figure 3.21: Fourth setup of the Filastruder ..................................................................................... 39 Figure 3.22: Comparison when the filament which goes through the measuring system isn't pressed and when it is by the wheel bearings ........................................................................................ 40 Figure 3.23: Filament measured with the measuring system several times and in different conditions.................................................................................................................................. 41 Figure 4.1: Old and new equations used for the measuring system ................................................. 44 Figure 4.2: Filament sample extruded with the first setup where the extruder is oriented vertically .................................................................................................................................................. 45 Figure 4.3: Filament sample extruded with the second setup where the extruder is oriented horizontally ............................................................................................................................... 45 Figure 4.4: Filament sample extruded with the third setup where the extruder was oriented horizontally and a heater band was added to the extruder barrel .............................................. 46 Figure 4.5: Deformation of the filament made by the pulling system .............................................. 46 Figure 4.6: Scheme of a section of the filament to represent how the difference of diameters section is calculated .............................................................................................................................. 47 Figure 4.7: Comparison between low and high quality filaments extruded with the Filastruder. On the left there is a filament extruded with the first setup where the extruder was oriented vertically and on the right there is a filamnet extruded with the extruder oriented horizontally and with the additional heater band .......................................................................................... 48 Figure 4.8: Experiments when the extruder nozzle temperature setting is 180 ºC and the pulling speed set at 17.2 mm/s in the third setup where the extruder is oriented horizontally without the measuring system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament sample .......................................................................... 50 Figure 4.9: Experiments when the extruder nozzle temperature setting is 185 ºC and the pulling speed set at 17.2 mm/s in the third setup where the extruder is oriented horizontally without the measuring system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament sample .......................................................................... 51 Figure 4.10: Experiments when the extruder nozzle temperature setting is 190 ºC and the pulling speed set at 17.2 mm/s in the third setup where the extruder is oriented horizontally without the measuring system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament sample .......................................................................... 52 Figure 4.11: Experiments when the pulling speed set at 17.2 mm/s in the third setup where the extruder is oriented horizontally without the measuring system. a) Average diameter of the all filaments samples of each temperature. b) Average deviation from the round profile of the all filaments samples of each temperature ..................................................................................... 53 Figure 4.12: Extrusion performed at the extruder nozzle temperature setting at 180 ºC and the pulling speed set at 17.2 mm/s using the fourth setup where the extruder is oriented horizontally and there is the measuring system included in the extrusion system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament samples ..................................................................................................................................... 54 Figure 4.13: Extrusion performed at the extruder nozzle temperature setting at 185 ºC and the pulling speed set at 17.2 mm/s using the fourth setup where the extruder is oriented
xvii horizontally and there is the measuring system included in the extrusion system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament samples ..................................................................................................................................... 55 Figure 4.14: Extrusion performed at the extruder nozzle temperature setting at 190 ºC and the pulling speed set at 17.2 mm/s using the fourth setup where the extruder is oriented horizontally and there is the measuring system included in the extrusion system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament samples ..................................................................................................................................... 55 Figure 4.15: Experiments when the pulling speed set at 17.2 mm/s in the fourth setup where the extruder is oriented horizontally with the measuring system. a) Average diameter of the three filaments samples extruded of each temperature. b) Average deviation from the round profile of the three filaments samples extruded of each temperature ................................................... 56 Figure 4.16: Experiment performed with the fourth setup to calculate the compensation correction for the diameter due to deficiency of the measuring system. a) Average diameter of the filaments at each temperature. b) Difference between real and hot average diameter at each temperature ............................................................................................................................... 58 Figure 4.17: Experiments when the pulling speed set at 17.2 mm/s in the fourth setup where the extruder is oriented horizontally with the measuring system. Average diameter of the all filaments extruded with measuring system of each temperature .............................................. 58
xviii
xix Table of tables Table 2.1: Type of additives adn effects to PLA pellets [13] ........................................................... 11 Table 2.2: How the microcontroller read the speed entered in the code. The value 𝑣𝑣 is an integer and value 1/ 𝑣𝑣 is a floating point number ............................................................................... 20 Table 3.1: Maximum speeds reached by the pulling system ............................................................ 32 Table 3.2: Temperatures at the different voltages reached by the additional heater band ............... 38 Table 3.3: Temperature set in the Filastruder and voltage in the power supply to get the desired temperature ............................................................................................................................... 39 Table 4.1: Comparison between the diameters of the drill bits with the old and the new equation . 43
xx
xxi List of symbols used Symbol Unit Meaning d / Function D mm Diameter of the filament T ºC Extruder temperature v / Velocity in the code x V Voltage Indexes f filament v pulling
4 printing) and the printing speed. Finally, the part or product’s file is exported to the printer and it’s ready to be printed [5]. In this master’s thesis we will focus on the material extrusion technique. This technique is the most known in AM community as its simplicity makes it possible for anyone to get hold of one and produce their own parts. A wide range of different materials can be extruded, including plastics, metal pastes, concrete, biogels, and a wide range of foods, it’s an extremely broad category [4],[6]. There’s three types of 3D Printing with the material extrusion technique, fused filament fabrication (FFF) (Figure 2.1), 3D bioprinting and construction 3D printing [6]. Figure 2.1: FFF 3D printers [6] The FFF technique it’s the most common desktop 3D printing and consists of material being extruded through a nozzle (Figure 2.2). Typically, the material is a plastic filament pushed through a heated nozzle that near-melts it in the process. The printer deposits the material on a build platform along a path determined by the build preparation software. The filament then cools and solidifies to form a solid object [5]. Figure 2.2: FFF technique [6] It’s a cost-effective and quick method for producing physical models. There are some instances when FFF can be used for functional testing, but the technology is limited due to parts having relatively rough surface finishes and lacking strength. Theoretical foundations and literature review
5 The FFF technology is composed basically by 3 main parts, printing plate on which the part is printed; a filament spool that serves as printing material, and an extrusion head, called an extruder [3]. The part that interests or occupies the thesis is the filament spool as had been said before. The filament wound up on the spool can be made of different materials but most commonly it’s made of polylactic acid (PLA), and this is the material that we will work with to create the filament. 2.2 Filament production techniques The filament is one of the essential parts of the 3D printer (Figure 2.3). While without the nozzle it would not be possible to print because the filament could not be heated and therefore the desired parts or pieces could not be printed, without the filament there would be no material to be melted and therefore the desired parts or pieces could not be printed either. Figure 2.3: 3D filament spool [7] The filament for 3D printers is made of a special type of plastic called thermoplastic. Thermoplastics can be heated and cooled multiple times without losing the properties of the material. Once heated to the right temperature the thermoplastic becomes flexible and malleable. It’s this pliability that allows the printer to sculpt the filament to create the parts or pieces before it cools down [1]. Common types of filaments for FFF There are many different materials for filaments for FFF on the market, the choice of material depends on the use or purpose of the part to be printed or the printer to be used, as the properties of the materials vary depending on the material. The two most common materials in thermoplastic filaments for 3D printers are ABS (Acrylonitrile Butadiene Styrene) and PLA (Polylactic Acid) [8]. 2.2.1.1 ABS ABS (Acrylonitrile Butadiene Styrene) is a thermoplastic 3D printing filament characterized by its reliability, stiffness, strength, and impact resistance. It also features higher dimensional stability and chemical resistance [1]. It has a high melting point and can withstand high Theoretical foundations and literature review
6 temperatures, making it suitable for creating objects that need to withstand heat. These features make it useful for industrial applications such as engineering, prototyping, functional testing, part assembly and much more [9]. Regarding the use of filament for filaments for FFF, the high melting point of thermoplastic must be taken into account, which implies a high printing temperature and a heated base (Figure 2.4). Other problems to be aware of are the tendency to deform during cooling and intense and potentially dangerous fumes. This means that during ABS printing a well ventilated or enclosed space must be used [1]. Figure 2.4: ABS's recommended print settings [9] 2.2.1.2 PLA PLA (Polylactide Acid), in contrast to ABS, is a non-toxic, bio-based industrial thermoplastic that is 100% bio-degradable and eco-friendly made from corn starch, sugarcane, or other natural materials [4],[5]. First and foremost, PLA is easy to print with. It has a lower printing temperature than ABS and it doesn’t warp as easily, meaning a heated print bed isn’t required although it definitely helps (Figure 2.5). Another benefit of using PLA is it doesn’t emit an off putting odour during printing (unlike ABS) [4]. It is commonly used in hobbyist and educational 3D printing for being easy to print with excellent surface finish, durable, with high stiffness and strength, making it one of the most user-friendly 3D printing filaments available on the market. And as such, it is the filament most recommended for people who are new to 3D printing. Additionally, this ease-of-use makes it ideal to create 3D printed parts for design, prototyping, and jigs and fixtures [10]. However, the mechanical properties are not as good as those of ABS and in this case, it cannot be used for functional testing or part assembly. Another appealing aspect of PLA is it’s available in a nearly endless abundance of colours and styles. Figure 2.5: PLA's recommended print settings [10] Theoretical foundations and literature review
7 Standard filament diameters Currently there are two different standardised diameters for 3D filaments with different virtues and depending on the characteristics of the print, one or the other will suit one better. On one side there is the 1.75 mm diameter and on the other the 3 mm diameter which is technically 2.85 mm. The 1.75 mm diameter is more popular due to its better extrusion flow consistency, resulting in more precise extrusion and better resolution and better printing performance in certain applications, such as when printing small or detailed parts. It can also reduce the likelihood of filament jams or clogs, as the smaller diameter allows for smoother filament flow through the printer’s extruder. However, some printers are designed to use 3 mm filament, which may offer advantages such as higher print speeds and improved strength or stiffness in certain applications. It's important to note that the choice of filament diameter can affect the printer's compatibility, as well as the printing quality and speed. It may require a printer with a larger extruder or different hot end components to accommodate the larger diameter. Techniques to produce the filament In terms of producing the filament, there are different techniques or methods that, depending on the technology available, one or the other will be used. Also, the material to be used to produce the filament can be found in different forms, either in pellet, resin, strips of plastic or powder form [2]. Basically all techniques start from the same point of principle (Figure 2.6), which is the machine that heats the material. It consists of a hopper where is introduced the plastic which will be melted by a heating plates, a screw which will transport the melted plastic by pushing it through the rotor and a die which will extrude the filament with a particular diameter depending on the diameter of the die. After the nozzle or die the filament is cooled by a cooling system. For best properties it is recommended that the plastic undergoes a drying process to remove any moisture it may contain before the extrusion process [5],[11],[12]. Figure 2.6: Extruder system scheme [13] Below are the three most common techniques for producing filament for 3D printers. Theoretical foundations and literature review
8 2.2.3.1 Extrusion This is the most common technique used to manufacture 3D printer filament. It involves melting plastic pellets or resin and pushing the molten material by a screw through a die to create a continuous filament. The filament is then cooled and spooled onto a spool for later use [5],[11],[12]. 2.2.3.2 Pulling This technique is very similar to the extrusion technique. The difference is that after the cooling system, a puller system is added which will pull the extruded filament and depending on the diameter obtained and compared to the diameter desired, the speed of the puller system will increase or decrease (Figure 2.7). Usually the diameter is measured by a measuring system that uses a laser technology. In this technique it is more difficult to control the diameter and consistency of the filament obtained because precise electronics are required to relate the speed of the pulling system and the measuring system [3],[14]. Figure 2.7: Pulling technique scheme [15] Related to these two techniques, extrusion and pulling, there are the Do It Yourself (DIY) filament extruders that make it possible for everyone to produce their own 3D filament from pellets. Therefore, printing with 3D printers for particular individuals is more affordable than buying filament already made by a company [3],[14]. DIY filament extruders are very simple machines that basically have the extruder and the hopper, and extrude the filament created from the pellets. These machines themselves are not customisable but they can be fitted with various external equipment to help achieve the desired product, either with cooling equipment, extra heated bands, installing winding equipment or a puller system (Figure 2.8) [3],[14]. Figure 2.8: Example of a DIY filament exturder [16] 300 mm Theoretical foundations and literature review
9 2.2.3.3 Polyformer Polyformer is not a technique as such. It is a 3D-printed open-source machine that recycles PET bottles (90% of plastic water bottles are made from PET) into filaments for 3D printers (Figure 2.9). It involves grinding up waste plastic and reforming it into new filament. The process involves melting the waste plastic and extruding it through a die to create a new filament [14]. Figure 2.9: Polyformer machine [17] 2.3 PLA pellets and their properties PLA pellets are small, cylindrical pieces of Polylactic Acid (C3H4O2)n (Figure 2.10) that are used as a raw material in the production of various plastic products [18]. As stated previously, PLA is a biodegradable thermoplastic and compostable polymer made from renewable resources such as corn starch, sugarcane, or other plant-based materials. Figure 2.10: a) Structural chemical formula of Polylactic acid (PLA) [18]. b) PLA pellets [19] a) b) 150 mm 5 mm Theoretical foundations and literature review
10 The pellets are melted and extruded into various shapes and forms, such as plastic bags, food packaging, 3D printing filaments, and disposable utensils. PLA is increasingly popular as a sustainable alternative to traditional plastics, as it is renewable, biodegradable, and does not release toxic fumes when incinerated. PLA production uses 65% less energy than producing conventional plastics and generates 68% fewer greenhouse gases. It can also remain environmentally friendly should the correct end-of-life scenario be followed [20]. Below are the currently four common end-of-life scenarios for PLA [21]. Recycling This is either chemical or mechanical. Waste material can hold contaminants, but Polylactic Acid can be chemically recycled using thermal depolymerisation or hydrolysis to create a monomer that can then be manufactured into virgin PLA. PLA can also be chemically recycled using transesterification to create methyl lactate. Composting Industrial composting conditions allow for chemical hydrolysis followed by microbial digestion to degrade the PLA. Incineration End-of-life PLA can be incinerated, creating 19.5 MJ/kg (8,368 btu/lb) of energy and leaving no residue. Landfill While PLA can go to landfill, this is the least environmentally friendly option, due to the slow degradation rates of the material in ambient temperatures. The degradation rate is very slow at room temperature, and a 2017 study showed that no degradation was observed in more than one year of immersion of the material in seawater at 25°C. However, PLA can be degraded by hydrolysis, thermal degradation or photodegradation [20]. Hydrolysis is a chemical reaction that breaks down the polymer chains and reduces their molecular weight. Thermal degradation results in the appearance of different compounds, such as linear and cyclic oligomers or lighter molecules with different lactides and molecular weight. Photodegradation occurs when UV radiation causes degradation, especially when PLA is exposed to sunlight [20]. Another aspect to consider with PLA that can have a significant impact on the properties and quality of the final product is moisture. PLA is hygroscopic, which means it readily absorbs moisture from the surrounding environment. The presence of moisture in PLA can cause a range of problems during processing, including reduced mechanical strength, decreased molecular weight and increased brittleness [4],[20]. When PLA pellets are exposed to moisture, they can undergo hydrolysis. This can lead to a decrease in mechanical strength and performance of the final product. Additionally, moisture can cause PLA to become more brittle and prone to cracking [4],[20]. Theoretical foundations and literature review
11 To prevent moisture from affecting PLA, it is important to store and handle the material properly. PLA pellets should be stored in a cool, dry place, and kept in sealed containers to prevent exposure to moisture. During processing, it is recommended to dry PLA pellets in a desiccant dryer to remove any absorbed moisture before use. This can help ensure consistent quality and performance of the final product [4],[20]. PLA pellets can be produced in different colours and grades to meet specific requirements for different applications. They are typically sold in bulk to manufacturers who use them as a raw material in their production processes. The manufacturers add additives to the raw plastic resin to give it specific, desirable properties. Additives may be added when the resin is first synthesized, or, if the final purpose is to make filament from them, during the filament production process by the filament manufacturer (Figure 2.11). Through the use of additives, a plastic resin can be optimised to meet certain needs [2]. Figure 2.11: Pellets' production process [22] Table 2.1 shows some types of additives and what they produce when added to PLA pellets. Table 2.1: Type of additives adn effects to PLA pellets [13] Plasticizer Plastics are generally not inherently elastic. The use of plasticizer additives increases flexibility elasticity. Impact Modifiers Strengthens the plastic's impact resistance, this is particularly important for very brittle plastics. Fillers Are used to give the plastic more mass, making it heavier and stronger. Flame Retardants Do what it says on the tin - reduces the impact of flames on the plastic. Theoretical foundations and literature review
12 Antioxidants A large family of additives that are used to reduce the wear and tear caused by chemical or sunlight exposure, which plastics are quite susceptible to. Colourants Add colour, obviously. It's not always so simple though - the colorant added must meet the same specifications as the resin, e.g. is it food safe? Antimicrobial Help the plastic to resist microbial growth. Thickeners Increase the viscosity of the plastic in its liquid phase. Effects the mixing of other additives as well as extrusion. Anti-stats Prevent the build up of static electricity and the resulting electrostatic discharge. The melting point of PLA pellets is typically around 160-180 °C, which makes them suitable for use in FFF 3D printers as it is not a very high temperature and can be easily and quickly achieved in the nozzle of the 3D printer. This implies that PLA granules have good printability, which means that they can be easily melted and extruded, and do not require a heated printing plate for adhesion [20]. The density is around 1.24 g/cm3, which is slightly lower than that of ABS pellets. PLA pellets have a moderate level of strength and stiffness, which makes them suitable for creating objects that require a degree of rigidity [20]. PLA is soluble in a range of organic solvents. Ethyl acetate is widely used because of its ease of access and low risk. It is useful in 3D printers for cleaning the extruder heads and for removing PLA supports [20]. Other safe solvents include propylene carbonate, which is safer than ethyl acetate but is difficult to purchase commercially. Pyridine can be used, but it has a distinct fish odour and is less safe than ethyl acetate. PLA is also soluble in hot benzene, tetrahydrofuran, and dioxane [20]. Overall, PLA pellets are a popular choice for 3D printing filament production due to their ease of use, low toxicity, and eco-friendliness. 2.4 Filastruder machine and its operation Filastruder is a popular brand of filament extruder kit that was used in the execution of this master’s thesis (Figure 2.12). Filastruder is part of the DIY extruder machines that allows users to create their own filaments at home. The Filastruder machine uses the extrusion technique to make the filament for 3D printing and uses plastic pellets as a starting material. Theoretical foundations and literature review
13 Figure 2.12: Filastruder machine [23] The main parts of the Filastruder machine and the function they performed are listed below. Hopper The hopper is typically a container or chamber that is attached to the Filastruder, positioned above the extruder barrel. It is designed to hold a certain amount of plastic pellets, which are gravity-fed into the extruder barrel as needed during the extrusion process [23],[24]. Extruder barrel This is one of the main components of the Filastruder kit. Is where the plastic pellets are fed and melted. It is 2.2 cm in diameter and 15cm long [23],[24]. Extruder screw The extruder screw is a screw inside the extruder barrel responsible for pushing the melted plastic out of the extruder barrel and into the die [23],[24]. Nozzle or Die The nozzle is the final part of the extrusion process, shaping the filament into the desired size and shape. Filastruder has different sized nozzles, 1.75 mm or 3 mm. The one that will be used in this project is 3 mm [23],[24]. Gearmotor The gearmotor is the part of the Filastruder kit that drives the extruder screw. It’s important that the plastic pellets inside the extruder barrel are in good condition, otherwise the motor may not have enough power and the extruder barrel may block. The gearmotor is a small DC motor that is coupled to a gearbox and uses a power supply of 12 V. The gearbox contains a set of gears that allow the motor to generate a high torque output, which is necessary to drive the extruder screw through the viscous melted plastic. The gearmotor is controlled by a motor driver circuit, which typically receives commands from the Filastruder controller or a computer interface. The motor driver adjusts the voltage and current to the motor to control the speed and torque of the extruder screw. This allows the Filastruder to extrude the plastic at a consistent rate and with a consistent force, which is important for producing high-quality filament [23],[24]. 100 mm Theoretical foundations and literature review
20 microcontroller does not change the speed of the pulling system above a certain speed introduced in the formula. Table 2.2 shows how microcontroller reads the speed we enter in the Micropython code. In the firs column there are the different speeds that are entered into the Micropython code and in the second column the value calculated with the equation. Finally, the third column shows the value actually read by the microcontroller and used to operate the stepper motor. As can be seen, the microcontroller only uses decimals to the thousandths, which means that many speeds that in theory should be different end up being the same speed. Table 2.2: How the microcontroller read the speed entered in the code. The value 𝑣𝑣 is an integer and value 1/ 𝑣𝑣 is a floating point number 𝒗𝒗 𝟏 𝒗𝒗 𝟏 𝒗𝒗 300 0.0033 0.003 400 0.0025 0.002 500 0.0020 0.002 600 0.0017 0.001 700 0.0014 0.001 800 0.0013 0.001 It is said to be the fault of the microcontroller, but we are not really sure if it is its fault or the fault of the driver or just the code because in the previous bachelor's thesis the speed of the motor was able to be changed in a controlled way. Unfortunately, we have realised this too late and due to time constraints, we have not been able to change the code and do more experiments with different speeds. So, the experiments that had been done all have the same speed, more details will be given in the methodology section. Upgrade of the Filastruder with a pulling system Thirdly, there is Léa Rejneri's bachelor's thesis "The upgrade of the filament extruder with a pulling system" where she used the measuring system and the pulling system, designed in the previous theses, with the Filastruder and did some filament extrusion tests [31]. In the Figure 2.20 we can see the prototyping board bus used to connect the measurement system and the pulling system to the Raspberry Pi Pico microcontroller. Theoretical foundations and literature review
21 Figure 2.20: Prototyping board bus used in the thesis [31] In the thesis it can be observed that the filament results are not very stable as time goes by and the hypothesis given is because the pellet feed in the Filastruder is not constant [31]. 50 mm Theoretical foundations and literature review
22 Theoretical foundations and literature review
23 3 Research methodology The initial objective was to develop a high quality filament extrusion system with the desired diameter, where the system would have a measuring and pulling system that would enable more control on the extruded diameter. With the discovery that the pulling system could not vary the speed gradually and in view of the lack of time for further experiments or a change in the operation of the pulling system's operating system, the objective of the feedback control loop had to be abandoned and the way in which the analysis of the results was approached had to be changed. That said, the methodology used was to introduce the different components available and the implementation of the additional heater band as the experiments progressed. 3.1 Materials and equipment For this master's thesis, several materials and equipment have been used in order to achieve the objectives set at the beginning of the project. Some of this equipment had already been used in the previous research and the others have been added with the purpose of improving the printing process of the filament and obtaining a PLA filament with the right diameter for an indefinite period of time. Materials As for the materials used in this project, two different types of pellets have been used for two completely different types of tests. Firstly, High Density Polyethylene (HDPE) was used at the beginning of the project to familiarise with the Filastruder machine by seeing how the extruded filament behaved and how the machine worked (Figure 3.1). These pellets were used instead of PLA pellets because they are cheaper and because they had the function of cleaning the extruder barrel, the extruder screw and the nozzle of the plastic residues that had been tested in the previous research.
24 Figure 3.1: HDPE pellets [32] The second material is Polylactic Acid (PLA) pellets which have been used in the remaining part of the project, as it was the material we wanted to obtain the filament with the determined diameter and the tests or experiments had to be done with it (Figure 3.2). Figure 3.2: PLA pelelts [33] Experimental equipment Regarding the equipment, it could be divided according to its use and its function in the project. Other factors that can also characterise the equipment is the time or number of times it has been used or its dependence on each other forming a group or being independent. First of all, the group of equipment directly involved in the extrusion of the filament will be presented (Figure 3.3). Of course, this group includes the Filastruder machine, which melts the PLA pellets and extrudes the plastic mass into filament form. This is followed by an additional cooling unit consisting of two 50 mm diameter fans. This additional equipment is in charge of helping the Filastruder's own fan to cool the filament that has just been extruded. Then, a filament puller has also been installed to be able to regulate the final diameter, tension and speed of the PLA filament extrusion. This control of the filament diameter will be possible thanks to a measuring system installed between the cooling system and the pulling system. Finally, the last element from this group is an additional heater band installed around the extruder barrel and whose function is to pre-heat the PLA pellets so that the 30 mm 30 mm Research methodology
25 Filastruder nozzle does not have to provide so much heat to the melted plastic and the Filastruder heater band requires less power. Figure 3.3: Filastruder's equipment to extrude the filament On the other hand, there is the Raspberry Pi Pico microcontroller in charge of controlling the running of the two fans of the additional cooling equipment, the speed at which the pulling system pulls the filament and collecting the measurements of the diameters measured by means of the measuring system. All the electronics needed to connect the microcontroller with the peripherals were done via a prototyping board bus (Figure 3.4). Figure 3.4: Prototyping board used in the thesis [31] Another group of equipment are two power supplies that were used to provide electrical power to certain equipment used in the project (Figure 3.5). One of them was used entirely to provide electrical power to the bus prototyping board, which was used to power the fans, the pulling system and the measuring system. This power supply plugs directly into the mains and supports up to 60 W, 12 V and 5 A. The other power supply was used only to 50 mm 150 mm Filastruder Measuring system Pulling system Additional cooling unit Additional heater band Raspberry Pi Pico microcontroller Stepper motor driver Measuring system connection Pulling system connection Additional cooling unit connection Research methodology
26 power the additional heater band and was a power supply that can control the voltage it provides at all time. In this way the power supplied to the heater band can be controlled. Figure 3.5: Power supplies used to provide voltage to the prototyping board and the additonal heater band [34] Finally, a personal computer was used to analyse the results obtained from the microcontroller and also to control and programme the microcontroller itself. In the event that the 3D printer is needed to print a new hopper or other necessary element, the computer will also be used for its design. A calliper was also be used to measure the diameters of the filaments when they was manually measured (Figure 3.6). Figure 3.6: Calliper [35] 3.2 Filament production process In this section we are going to define and describe the process that is carried out for the extrusion of filament for 3D printers from PLA pellets. Although several experiments have been carried out with more or less peripherals, here the procedure carried out for the last experiment is explained and the most complete one since all the peripherals are used; additional heater band, additional cooling system, pulling system and measuring system. In the case that some of these peripherals were not used during the experiment, the process is the same but omitting the part involving that peripheral. The process starts with the preparation of the material. As mentioned before, moisture is a very detrimental factor for PLA pellets as it negatively affects the mechanical strength and brittleness of the filament that will be produced. In industrial processes, what is usually done is to heat the pellets to a temperature of between 60 ºC and 80 ºC to eliminate any trace of Research methodology
27 moisture. However, in the laboratory we do not have these means and what we have done is to store the pellets in a place with a favourable environment and free of humidity, and with silica gel bags that absorb the humidity that may be inside the bag where the pellets are (Figure 3.7). Figure 3.7: Silica gel bags [36] The next step is to switch on the Filastruder and the power supply of the additional heater band, and to select the temperature to which the Filastruder nozzle is to be heated and the voltage to be supplied to the additional heater band and wait for it to reach the target temperature (Figure 3.8). This wait can take between half an hour and forty-five minutes, or sometimes even longer. Figure 3.8: a) Filastruder control panel. b) Power supply of the additional heater band control panel Once the system has stabilised and the target temperature has been reached, the PLA pellets are feed through its hopper. The amount of pellets to be added to the hopper at the same time should not be too high, otherwise the Filastruder screw may jam and block the motor, stopping the extrusion of the filament. The pellets should be introduced a little at a time once the hopper has run out of pellets. These pellets after passing through the hopper enter the extruder barrel and when the motor is switched on they are pushed through the extruder barrel into the nozzle. During this journey they are heated to the extrusion temperature set at the beginning of the process. Figure 3.9 represents how are the pellets advancing through the extruder barrel and we can see how the pellets as they approach the nozzle (the part on the right) are more melted and are slowly homogenize. a) b) Research methodology
28 Figure 3.9: Condition of the pellets as they move through the extruder barrel. Direction of extrusion is form left to right side of the figure Once the hopper is filled with PLA pellets and the nozzle is at the desired temperature, connect the power supply of the bus prototyping board to the power supply and the Raspberry Pi Pico microcontroller to the computer. Then run the desired Micropython program depending on the experiment to be performed. At this point the peripherals are not yet in operation and therefore no data is being taken from the computer, so that they can be activated first we need to press the button on the bus prototyping board. Before doing so, however, it is important to have the Filastruder already running and extruding the filament in optimal conditions for manipulation. Then the Filastruder motor is turned on. Once the motor is turned on, the Filastruder screw will start to rotate and the pellets will be pushed into the nozzle. If the barrel was already full of pellets it will start to extrude filament through the nozzle immediately, otherwise it will take a few seconds as the pellets have to reach the end of the barrel, heat up and melt. Once the filament starts to extrude, it takes a few seconds or even minutes until the filament is adequate and can be handled. Up to this point the filament being extruded is very viscous, thin and comes out of the nozzle at a high speed creating a mass blob on the floor (Figure 3.10). During this time of stabilisation of the filament, the temperature of the nozzle drops between 2 ºC and 4 ºC. It is important to check that the thermocouple is well placed in its slot so that it measures the temperature reliably and the Filastruder does not show a lower temperature than the real one. When handling the extruded filament, it is necessary to use a tool or protective gloves as it comes out at a high temperature and doing it with just your hands can cause burns. Figure 3.10: Mass bulb of PLA created by the filament while it can't be handled 30 mm 30 mm Research methodology
29 During the stabilisation time and for the remaining time of the experiment, the hopper should be refiled so as not to cut off the pellet supply and thus ensure that there is always the same flow of extruded filament. When the filament has a constant thickness, is homogeneous and with a sufficient consistency to be handled as it should, bus prototyping board should be pressed to start the operation of the additional cooling unit fans, the pulling system and for the computer to start saving the data measured by the measuring system. The data is saved in a .txt document in the Raspberry Pi Pico microcontroller itself. The filament must be guided between the fans of the additional cooling system, then through the measuring system and finally through the pulling system. At the end of this process, the tension that is being given to the filament should be adequate and should not get stuck in any peripheral such as the cooling system, as in this part of the process the filament has not yet been cooled, it is very hot and gravity may cause it to bend and become stuck if the extrusion speed is lower than the pulling speed applied by the puller. After the filament is cooled and has passed through the puller, it must be collected manually and observe what shape it can take so that it does not get tangled in the puller, as sometimes gets attached to the wheels of the system, or in itself, obtaining shapes that would be unusable to use the filament in a 3D printer. The best thing to do is to collect it trying to make it cool down in a straight line and then when storing it, it should be rolled up so that it takes up less space (Figure 3.11). Figure 3.11: PLA filament obteined after the extrusion process 3.3 Raspberry Pi Pico setup and programming The program we have used to program the code and as an interface to interact with the microcontroller was Thonny [37]. This is free Python integrated development environment aimed at Python 3 beginners, with which it is also compatible to connect microcontrollers and use Micropython. Since some research on the improvement of the Filastruder extruder machine had already been carried out by other students the code to run the microcontroller and its peripherals was 120 mm Research methodology
36 In this way, we are able to bypass the effect of gravity and extrude a filament with a diameter greater than 1.8 mm at temperatures at which the filament is of better quality and previously this diameter size could not be achieved. In this setup it was necessary to design a new hopper as the previous one was designed to be mounted vertically. It is also necessary to use the pulling system to give tension to the filament so that it can pass in a linear way through the cooling system. Although the temperature of the nozzle takes longer to decrease, it continues to do so and consequently, lumps continue to appear on the filament when the temperature drops too low. However, the quality of the filament is now good, homogeneous and transparent along the filament. This may be due to the fact that now, as the Filastruder is horizontal, not all the pellets accumulate in the nozzle, but they are placed in the lower part of the extruder barrel, so that few pellets arrive simultaneously and not all at the same time, which means that there are fewer pellets to heat all at once. This is a hypothesis that we have mentioned before, the reason why the filament was of poor quality and the temperature dropped so fast. Another observation that the experiments in this setup allow us to make is that as the temperature decreases, the diameter of the filament increases. Third setup: additional heater band on the extruder barrel Once we had solved the gravity effect, we wanted to solve the problem of the temperature not stabilising and decreasing as the experiments progressed. The solution we chose was to install an additional heater band around the extruder barrel, which would help the Filastruder heater band to heat the pellets before the nozzle, so that the temperature transmitted to the nozzle would be lower and therefore require less power to maintain a constant temperature. The heater band was placed around the extruder barrel wrapping all around it and fastened with two clamps (Figure 3.19). The heater band is made of silicone and has a power of 30 W and withstands a voltage of up to 12 V. These heater bands are not recommended to exceed 200 ºC as the materials may deteriorate [39]. Figure 3.19: Additional heater band fastened into the extruder barrel As the heater band was connected to the power supply which can regulate the voltage and the current which it transmits, before fitting the heater band we carried out a study to find out up to what voltage we should set it so as not to overheat it or so as not to heat up the pellets too early and cause problems with the extruder screw getting stuck. Additional heater band 50 mm Research methodology
37 We decided to divide the heater band into nine points and to use a digital thermometer (Figure 3.20) to measure the temperature of these points by applying voltage from 0V to a maximum of 12V. After increasing the voltage at the power supply, we waited 5 minutes for the band temperature to stabilise. Figure 3.20: Additional heater band and setup to check the temperature it reaches Once the measurements of the 9 points at the different voltages had been taken, the Table 3.2 was made to see how the temperatures were distributed in the band and to see what maximum temperatures were reached at each voltage. As can be seen, the central point is the point that heats up the most and the corners the least. This is due to the fact that all the resistors that heat up pass through the central part and, in the corners, apart from the fact that not so many resistors pass through, they have the edges that dissipate more temperature towards the outside. As for the values, the heater band does not reach values higher than 200 ºC which is in our favour as there is no possibility of it overheating and deteriorating. And, taking into account that the melting temperature of PLA is between 160 ºC and 180 ºC, we decided that the voltage at which we will operate will be 9 V, as the maximum temperature reached is 150.5 ºC, which is lower than the melting temperature of the pellets. Despite 10V reaches the temperature of 177.3 ºC and may start to melt the pellets too early, if 9 V does not stabilise the nozzle temperature because it is working at higher temperatures, the heater band will be set to work at 10 V. We deduced the real temperature that will be transmitted to the extruder barrel will be lower due to losses and that in any case it will not melt the pellets but will only start to make the phase change making them softer. 50 mm Research methodology
38 Table 3.2: Temperatures at the different voltages reached by the additional heater band Once it was installed around the extruder barrel as shown in Figure 3.19, it was wrapped with the glass wool insulation and we started working with it at 9 V. The result was that once the nozzle was stabilised at the temperature set in the Filastruder and started up, the nozzle temperature dropped between 3 ºC and 4 ºC but then stabilised and remained at that temperature for the rest of the experiment. So, the heater band solved the problem of the temperature not stabilising and not being able to do the experiments at constant conditions. Besides, the result of the filament is a very good quality material, homogeneous along its entire length and without lumps. Preheating the filament increases the quality of the material considerably. However, the pressure exerted by the pulling system on the filament causes it to deform from a circular shape to an oval shape. Following from above findings, an experiment was devised which consisted of choosing three different temperatures and extruding filament at different speeds. In this way, we wanted to obtain a relationship between the temperature of the Filastruder, the speed of the pulling system and the diameter obtained. However, later on we encountered a setback that has already been mentioned above, and that is that the pulling system did not vary the speed of the system from a certain speed introduced in the code. This made us rethink the way of analysing the experiment and how to continue with the others. Initially, experiments were carried out at temperatures of 180 ºC, 185 ºC and 190 ºC, and at speeds (entered in the code formula) of 500, 550, 600, 650, 700 and 750. It later turned out that the speeds from 550 to 750 were actually all the same speed. Also, it should be noted that with the temperatures 185 ºC and 190 ºC, with the speed programmed at 500, no results were obtained as the extrusion speed at these temperatures was higher than the puller speed and the filament got stuck in the cooling system. The same happened with lower speeds than 500 at the three temperatures, that’s why we started the experiments at 500 speed. Taking into account that the temperature set in the Filastruder decreases by a few degrees until it stabilises, the following temperatures were set in the Filastruder and the following voltages of the power supply to the heater band in order to stabilise the nozzle temperature at the desired temperatures (Table 3.3). Research methodology
39 Table 3.3: Temperature set in the Filastruder and voltage in the power supply to get the desired temperature T objective T set Filastruder Voltage of power supply 180 ºC 184 ºC 9 V 185 ºC 188 ºC 9 V 190 ºC 194 ºC 10 V Fourth setup: addition of the measuring system Now that we are able to extrude good quality filament under constant conditions. The measuring system was decided to be introduced to the setup to facilitate the analysis of the results, as the filament measurements would be done automatically. Firstly, the measuring system was installed after the pulling system but we realised that this setup was not functional as the filament once it had passed through the puller remained without tension and the filament could not pass through the measuring system. For this reason, we changed the order of these two components and in this way the filament remained tight all the way through the setup. Another change that was made was to change the spring of the measuring system for an elastic rubber because the spring was too tight to the filament and prevented its passage blocking it (Figure 3.21). Figure 3.21: Fourth setup of the Filastruder Based on the results obtained from the previous setup, experiments were continued at the same three temperatures (180 ºC, 185 ºC and 190 ºC) and with the only speed that was operational at all three temperatures (550) because the 500 speed was too slow for the 185 ºC and 190 ºC. The first tests that were done were simply to check how the measuring system affected the filament and to see if with it and with the fact that the pulling system was further away from the nozzle and therefore the filament had more time to cool down, a less oval and more circular filament was obtained. Nine metres of filament were extruded continuously at all three temperatures so that they all had the same extrusion conditions. These filaments were 100 mm Measuring system Research methodology
40 then divided into three segments to be analysed separately. The results were very similar to those achieved in the previous setup, but the deformation of the filament due to the pulling system was considerably reduced. It was when we compared the hand-made measurements with the calliper and the measurements recorded in the computer that we realised that there was a big discrepancy in the measured values. The measurements made by the measuring system were between 1.2 mm and 1.4 mm while the actual measurements that corresponded to the measured offline with the vernier calliper were between 1.7 mm and 1.9 mm. We analysed the passage of the filament through the measuring system and we realised that because the passage of the filament was pushing one wheel bearing, it was no longer aligned with the other and a deflection of the filament was produced. Figure 3.22 shows that when the filament passes without being pressed by the wheel bearings of the measuring system (left image) it remains completely straight, but when it is pressed by the wheel bearings (right image) it suffers a small curvature which may be responsible for the tenths of a millimetre that is lost when measuring with the measuring system. Figure 3.22: Comparison when the filament which goes through the measuring system isn't pressed and when it is by the wheel bearings To check if the last hypothesis was correct, we decided to extrude a filament at 180 ºC using the measuring system to calculate its diameter when it was hot. Then, once the filament had cooled, we would run it through the measuring system again, as the cold filament would not be deformed by the pressure of the measuring system and we would get the true diameter value. This operation would be repeated a few times in order to have more than one sample on which to base the subsequent analysis. In addition, we also measured the diameter by hand with the calliper to know exactly its value along the filament. Once all the measurements and the subsequent analysis had been made, we came to the conclusion that the measurements made by the measuring system when the filament was cold were not good enough to be taken into consideration, because between the noise of the measuring system and the fact that the filament was not completely straight, this meant that the curves varied too much and were not conclusive (Figure 3.23). However, with the measurements made by hand this was not the case and the curves were very similar but with a few tenths of a millimetre difference. 25 mm 25 mm Research methodology
41 Figure 3.23: Filament measured with the measuring system several times and in different conditions Seeing that the difference between the curves remained fairly constant we decided to add this difference to the measuring system equation and re-extruded a new filament. This new filament was measured by hand and the result was that the difference between the measurements made by hand and those made by the system was 0.04 mm throughout the filament. With these new results, the process was repeated for the 185 ºC and 190 ºC temperatures. Research methodology
42 Research methodology
43 4 Results and analysis 4.1 Results Calibration of the measuring system From the tests carried out in section 3.4, the following results have been determined regarding the calibration of the measuring system. Table 4.1: Comparison between the diameters of the drill bits with the old and the new equation Table 4.1 consists of three main columns. The first column shows the diameters of the different drill bits. In one column is the real diameter of the bit that has been measured with a calliper and in the other the diameter that should be or is generated when the drill is used. As can be seen, the real diameters are slightly smaller than the theoretical diameters. The second column shows the measurements taken using the equation used in the previous theses. There is the diameter calculated with the equation (3.1), the voltage measured with the measuring system and then the relative error between the calculated diameter and the real diameter of the drill bit. In the third column the data from the second column is repeated but using the new equation (4.1) to calculate the diameter.
44 D = 65.053 – 76.193x + 30.804x2 – 4.223x3 (4.1) To calculate the new equation (4.1), a diameter - voltage graph was generated from the real values of the diameters and the respective voltages calculated with the measurement system and a polynomial equation was interpolated between the points. Figure 4.1 compares the old equation with the new one. We can see that the curves have some points in common, but in general terms they are quite different from each other. Figure 4.1: Old and new equations used for the measuring system As can be observed in the table, the old equation (3.1) generates an inadmissible relative error for all drill bit sizes. In fact, it can be assumed that the values of the theoretical diameters were used as the real diameter values in the equation, as they are very close to them. It can also be assumed that only three drills were used to make the curve (1.5 mm, 1.8 mm and 2 mm) since the calculated diameters other than these three differ greatly from the theoretical diameters while these three are very close, or, that diameters between the range of 1.5 mm and 2 mm were used. The difference is very noticeable in the higher diameters as the difference between the calculated and theoretical diameters is more than 0.1 mm. Looking at the third column, it can be seen that with the new equation (4.1) the relative errors between the real and calculated diameters are minimised to the point where they can be underestimated. With these relative errors, the new equation for measuring the diameters is taken as good and will be used for future experiments. Experiments performed with the first setup As mentioned in section 3.5.1, in the first setup the extruder was set vertically, and due to gravity and the decrease in extrusion temperature due to inadequate nozzle temperature control, it was not possible to extrude good quality filament with a diameter greater than 1.8 mm. The diameter of the filament used to be quite irregular as can be seen in Figure 4.2 and its dimensions ranged from 0.8 mm to 1.8 mm. Obtaining a filament with an average diameter of 1.44 ± 0.21 mm. Results and analysis
45 Figure 4.2 shows a sample of filament that was extruded in the course of the experiments and it is clear that the filament is not transparent, it has a whitish colour, and its diameter varies considerably depending on the section observed. This poor quality is due to the inadequate procedure when melting the pellets. In addition to this, it can be seen that the filament is full of lumps along the length of the filament, which, even if the filament subtraction had a suitable diameter, would make it unfit for use in a 3D printer. Figure 4.2: Filament sample extruded with the first setup where the extruder is oriented vertically Experiments performed with the second setup In the second setup the extruder was set horizontally and we were able to make filaments of better quality as we had managed to neglect the effect of gravity by placing the Filastruder horizontally, and in some sections we were able to extrude the filament with a diameter greater than 1.8 mm. Figure 4.3 shows that the filament is not completely transparent, but it is not as white as in the previous setup. The diameter of the filament varies depending on the length of the filament due to the decrease in temperature of the Filastruder nozzle. However, the diameter changes are not as sudden as they were in the previous setup but are more gradual. This is probably due to the fact that the effect of gravity has been neglected. Nevertheless, lumps still appear along the entire length of the filament because the pellets are not homogeneously heated and melted properly or for long enough. Figure 4.3: Filament sample extruded with the second setup where the extruder is oriented horizontally 30 mm Lumps Lumps 50 mm Results and analysis
52 Figure 4.10: Experiments when the extruder nozzle temperature setting is 190 ºC and the pulling speed set at 17.2 mm/s in the third setup where the extruder is oriented horizontally without the measuring system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament sample Figure 4.11 a) shows the average filament diameters extruded at the three different nozzle temperatures using the third setup. It can be seen that if the average of all the filaments at each temperature is taken, the average diameter is very similar between them, around 1.8 mm. On the other hand, the standard deviations of the filament diameter are different between them. The standard deviation of the filaments of the nozzle temperature at 190 ºC is almost 0.15 mm while the standard deviations of the filaments of the nozzle temperature at 180 ºC and 185 ºC are half that and very similar, 0.087 mm. Figure 4.11 b) shows that the diameter deformation of nozzle temperature at 180 ºC and 185 ºC are similar, 0.075 mm and 0.08 mm respectively, but at 190 ºC is much higher, 0.12 mm, and moreover with a larger standard deformation deviation of 0.06 mm. The filament standard deformation deviation at 185 ºC is higher than at 180 ºC, 0.035 mm and 0.018 mm respectively. Results and analysis
53 Figure 4.11: Experiments when the pulling speed set at 17.2 mm/s in the third setup where the extruder is oriented horizontally without the measuring system. a) Average diameter of the all filaments samples of each temperature. b) Average deviation from the round profile of the all filaments samples of each temperature Considering all these facts, it seems that the best temperature to work without the measuring system is 180 ºC, as it has more stable values and the deformation of the cross-section is lower. However, the diameter of the filaments has a standard deviation that cannot be tolerated and the average diameter is higher than desired 1.75 mm. Moving on to the analysis of the fourth setup where the measuring system is introduced, we can observe that at nozzle temperature of 180 ºC (Figure 4.12 a)) the average diameters obtained are similar to those obtained in the previous setup (average diameter of 1.8 mm) and the standard deviations are also similar, around 0.09 mm. The deformation of the crosssection in this case is lower than in the experiments using the third setup, from 0.04 mm to 0.05 mm (Figure 4.12 b)). At the nozzle temperature of 185 ºC (Figure 4.13 a)), the average diameters obtained are lower than the average diameters obtained the previous setup. In the third setup four out six samples had the average diameter bigger than 1.85 mm and in the fourth setup one sample has the average diameter of 1.85 mm and the other two of 1.75 mm. The standard deviations of filament’s diameter in the first two filament samples are slightly larger, around 0.12 mm and in the last one it is 0.09 mm. The deformation of the cross-section at this nozzle temperature are similar to the deformations obtained in the other fourth setup’s experiments, between 0.02 mm and 0.06 mm (Figure 4.13 b)). Finally, at nozzle temperature of 190 ºC (Figure 4.14 a)), two equal average diameters of 1.90 mm are obtained and with standard diameter deviation of 0.14 mm and 0.24 mm. On the other hand, the second filament sample has an average diameter similar to the target 1.75 mm, 1.78 mm, and with a standard deviation similar to those obtained in the other experiments of the fourth setup, 0.08 mm. The deformation of the cross-section in this case are similar to those of the other temperatures at this setup, between 0.03 mm and 0.06 mm, and remain low compared to the deforming of the cross-section obtained in the third setup (Figure 4.14 b)). Results and analysis
54 Figure 4.12: Extrusion performed at the extruder nozzle temperature setting at 180 ºC and the pulling speed set at 17.2 mm/s using the fourth setup where the extruder is oriented horizontally and there is the measuring system included in the extrusion system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament samples Results and analysis
55 Figure 4.13: Extrusion performed at the extruder nozzle temperature setting at 185 ºC and the pulling speed set at 17.2 mm/s using the fourth setup where the extruder is oriented horizontally and there is the measuring system included in the extrusion system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament samples Figure 4.14: Extrusion performed at the extruder nozzle temperature setting at 190 ºC and the pulling speed set at 17.2 mm/s using the fourth setup where the extruder is oriented horizontally and there is the measuring system included in the extrusion system. a) Average diameter of each filament sample. b) Average deviation from the round profile of the filament samples Results and analysis
56 From results obtained using the fourth setup we can see that the average diameters are more constant during the experiments and the circular shape deformation is much smaller than in the previous setup (Figure 4.15). This is probably because the pulling system is further away from the extruder nozzle, so it has a lower temperature and is stiffer when it comes to wheel bearings. In Figure 4.15 a) we can observe that except for the 190 ºC extrusion temperature which has an average diameter of 1.85 mm and with a deviation of 0.07 mm, the obtained filament diameters at extrusion temperatures of 180 ºC and 185 ºC are very close to the target of 1.75 mm, 1.77 mm and 1.78 mm respectively and both with a standard deviation of 0.04 mm. As for the circular shape deformation, we can see in Figure 4.15 b) all three have a deformation of the cross-section of 0.045 mm and, except for the 180 ºC test which has 0.007 mm standard deviation, the other are 0.019 mm for 185 ºC and 0.016 mm for 190 ºC. Figure 4.15: Experiments when the pulling speed set at 17.2 mm/s in the fourth setup where the extruder is oriented horizontally with the measuring system. a) Average diameter of the three filaments samples extruded of each temperature. b) Average deviation from the round profile of the three filaments samples extruded of each temperature After analysing the results of the fourth setup, the same conclusions can be made as when using the third setup. The extrusion temperature of 180 ºC is the most suitable temperature to work with as it has an average diameter very similar to 1.75 mm, the standard deviations are smaller than in the other extrusion temperatures and the circular shape deformation is also smaller. Results and analysis
57 In the last part of results analysis, we focus on the experiment that was performed to calculate the compensation correction for the diameter due to deficiency of the measuring system. In Figure 4.16 a) we can see the real average diameters of the different filament samples. Diameters were measured when the filament was cold. The reason why there is two different values of average diameter in each temperature is because one value is from the extruded sample used to calculate the compensation correction, and the other value is from the extruded sample to check if the compensation correction corrected the on-line measured error. Figure 4.16 a) shows that the two values of the average diameters of each temperature are similar to each other and with the same standard deviation. At the extrusion temperature of 180 ºC the average diameter of the samples are 1.90 mm and 1.95 mm, values that are significantly above the average diameters obtained in the third and fourth setup, which are between 1.75 mm and 1.85 mm. However, in the third setup there is a sample that also has an average diameter of 1.95 mm. At the extrusion temperature of 185 ºC the average diameters obtained are 1.80 mm and 1.82 mm that are similar to the average diameters obtained in the third and fourth setup experiments. Regarding the extrusion temperature of 190 ºC the average diameters obtained are 1.87 mm and 1.88 mm. The standard diameter deviation of all filament samples is 0.10 mm. Figure 4.16 b) shows the difference between the real average diameter measured off-line with a calliper and the hot average diameter measured on-line by the measuring system. There are two values on each temperature because one corresponds to the value before applying the compensation correction and the other corresponds to the value after applying the compensation correction. In Figure 4.16 b) we can see that the value at 180 ºC extrusion temperature before applying the compensation correction is 0.5 mm, while in 185 ºC and 190 ºC is 0.42 mm and 0.43 mm respectively. After applying the compensation correction all three extrusion temperatures have the same difference between the real and hot average diameter that is 0.04 mm. Results and analysis
58 Figure 4.16: Experiment performed with the fourth setup to calculate the compensation correction for the diameter due to deficiency of the measuring system. a) Average diameter of the filaments at each temperature. b) Difference between real and hot average diameter at each temperature From this experiment not many conclusions can be drawn as the fact that only one single test has been done at each temperature makes the results inconclusive. Also, the fact that the extrusion has only been performed at the speed of 17.2 mm/s makes the compensation correction may not be generalisable for other speeds. However, it is noted that if further experiments were to be done, the final compensation correction that would have to be implemented should be approximately 0.43 mm or one between 0.43 mm and 0.5 mm. In Figure 4.17 all the results obtained with the fourth setup (inclusion of the measurement system) are merged to gain a larger filament sample. Comparing this figure with Figure 4.15 a) we can see that the average diameter of set temperature at 180 ºC has increased from 1.77 mm to 1.87 mm. The standard diameter deviation on this set temperature has also increased from 0.04 mm to 0.09 mm. On the other hand, the average diameters and standard diameter deviations obtained in the Figure 4.17 at the other two nozzle temperatures are very similar to those obtained in the Figure 4.15 b). Figure 4.17: Experiments when the pulling speed set at 17.2 mm/s in the fourth setup where the extruder is oriented horizontally with the measuring system. Average diameter of the all filaments extruded with measuring system of each temperature Results and analysis
59 After having analysed all the results, an assumption has been made that has already been mentioned during the analysis of the experiments carried out in the third setup with the extrusion temperature of 180ºC. The fact that in the same experiment with the same conditions of extrusion temperature and pulling speed, we obtained average diameter values with a difference between them of more than 0.2 mm and standard deviations equal or higher than 0.08 mm, indicates that there is some variable that has not been properly controlled. Despite having fed the pellet hopper regularly and always trying to feed the same amount of pellets and that there was always the same amount of polymer in the extruder barrel, it may not have been enough and a more sophisticated method should have been used. The best setup for extruding filament uses the additional heater band, the pulling system, the measuring system, the Filastruder is set horizontally and the nozzle extrusion temperature is 180 ºC because its average diameters are the closest to the target, its standard deviations are the smallest and because its deformations of the cross-section are the smallest compared to the other two extrusion temperatures. Results and analysis
60 Results and analysis
61 5 Discussion At the beginning of the thesis the initial setup did not allow to extrude good quality filament. As the extruder system was set up vertically, gravity had an influence on the extrusion, making the filament very thin. In addition, the temperature of the nozzle dropped during the experiments, which contributed to the quality of the extruded filament not being adequate, as the polymer did not melt properly, lumps were generated and the filament aspect was not homogeneous and transparent. As mentioned above, the implementation of the additional heater band and the horizontal positioning of the Filastruder, enabled the extrusion of a good quality filament, transparent, homogeneous and without lumps, which in terms of quality could be used for 3D printing. Regarding the deformation of the filament cross-section caused by the pulling system, it can be inferred that it depends on the extruded diameter of the filament and on the extrusion temperature. The larger the diameter, the greater the deformation, and the higher the temperature, the greater the deformation. The bigger the diameter, the greater deformation is generated in the filament cross-section as the pulling system compresses the filament more because the elongation of the elastic rubber that joins the two puling system’s wheels is greater and therefore exerts more force. Regarding the temperature, the higher the temperature, the greater the deformation, as the filament is less cooled when it reaches the pulling system and is therefore more susceptible to being deformed by the compression exerted by the pulling system. The extrusion performed with implemented measuring system shows that the deformation decreases considerably, the deformation decrease from between 0.075 mm and 0.12 mm to a deformation of 0.045 mm. This is probably due to the fact that the filament has cooled down more and thus, stiffened, by the time it reaches the pulling system. Apparently, considering the average extruded diameter and the deformation of the filament cross-section, favourable temperature for extrusion is 180 ºC. However, the filaments extruded at 185 ºC have very similar dimensions to the filaments extruded at 180 ºC, 1.77 ± 0.04 mm and 1.78 ± 0.04 mm with the measuring system. Therefore, the temperature
68 [10] Raise3D: PLA. Available at: https://www.raise3d.com/filaments/pla/, viewed: 9 May 2023. [11] P. Chesser, B. Post, A. Roschli, C. Carnal, R. Lind, M. Borish, L. Love: Extrusion control for high quality printing on Big Area Additive Manufacturing (BAAM) systems. Additive Manufacturing 28 (2019) pp. 445-455. [12] C. Abeykoon: Single screw extrusion control: A comprehensive review and directions for improvements. Control Engineering Practice 56 (2016) pp. 69-80. [13] Jack Robson: How are made filaments. Available at: https://web.archive.org/web/20181107145332/https:/www.filaments.directory/en/blo g/2018/08/29/how-are-filaments-made, viewed: 9 May 2023. [14] A. L. Woern, J. R. McCaslin, A. M. Pringle, J. M. Pearce: RepRapable Recyclebot: Open source 3-D printable extruder for convertinc plastic to 3-D printing filament. HardwareX (2018) e00026. [15] Biopolymers. Available at: https://biopolymers.nurel.com/en/products/extrusion/profiles-filaments, viewed: 1 June 2023. [16] Jackson O'Connell: DIY filament extruders: the best filaments makers in 2023. Available at: https://all3dp.com/2/best-diy-filament-extruder-kit- maker/#google_vignette, viewed: 9 May 2023. [17] Reiten: Polyformer. Available at: https://www.reiten.design/polyformer, viewed: 9 May 2023. [18] Polylactic acid. Available at: https://en.wikipedia.org/wiki/Polylactic_acid, viewed: 1 June 2023. [19] PLA pellets photo. Available at: https://filament2print.com/gb/pellets-and- coloring/688-pla-pellets.html, viewed: 1 June 2023. [20] S. Farah, D. G. Anderson, R. Langer: Physical and mechanical properties of PLA, and their functions in widespread applications – A comprehensive review. Advanced Drug Delivery Reviews 107 (2016) pp. 367-392. [21] V. Piemonte, S. Sabatini, F. Gironi: Chemical Recycling of PLA: A Great Opportunity Towards the Sustainable Development?. J Polym Environ (2013) pp. 21:640-647. [22] Smart materials 3D catalogue. Available at: https://www.smartmaterials3d.com/upload/catalogo-online/catalogo-online- 2022.pdf, viewed: 13 July 2023. [23] Tim Elmore: Instruction and Assembly manual for Filastruder. Available at: https://static.igem.org/mediawiki/2016/9/99/T--SDU-Denmark-- Manual_for_Filastruder_ENGLISH.pdf, viewed: 10 May 2023. [24] Filastruder: Filastruder website. Available at: https://www.filastruder.com/collections/filastruders-accessories, viewed: 10 May 2023. [25] Raspberry Pi: Raspberry Pi Pico website. Available at: https://www.raspberrypi.com/products/raspberry-pi-pico/, viewed: 16 May 2023. Bibliography
69 [26] Micropython: Micropython website. Available at: https://micropython.org/, viewed: 16 May 2023. [27] Nejc Bavcon: Measuring the filament diameter during the extrusion process: bachelor's thesis. Ljubljana, 2022. [28] A. Hoffman: Advances in Magnetics. Spin Hall Effects in Metals. IEEE Transactions on Magnetics (2013) vol. 49, no. 10, pp. 5172-5193. [29] Nikola Krajnović: Puller for a filament extrusion process: bachelor’s thesis. Ljubljana, 2022. [30] V. Dadi, S. Peravali, R. Busi: Conversion of geared DC motor into stepper motor using switching delay time signals. SN Applied Sciences (2021) pp. 3:479. [31] Léa Rejneri: The upgrade of the filament extruder with a puller system: bachelor's thesis. Ljubljana, 2022. [32] HDPE figures. Available at: https://www.makershop3d.com/3devo/2961-hdpe- cleaning-purge-180-280-4kg.html, viewed: 13 July 2023. [33] PLA pellets figures. Available at: https://www.smartmaterials3d.com/pla-y-abs- pellets#/171-tamano-1kg, viewed: 13 July 2023. [34] Power supply figure. Available at: https://es.aliexpress.com/i/4000135896257.html, viewed: 13 July 2023. [35] Calliper figure. Available at: https://es.rs-online.com/web/p/calibres/2436615, viewed: 13 July 2023. [36] Silica gel figure. Available at: https://www.cargodepot.mx/productos/desecantes/silica-gel/, viewed: 3 June 2023. [37] Thonny website. Available at: https://thonny.org/, viewed: 14 July 2023. [38] Raspberry: How to connect the microcontroller. Available at: https://www.raspberrypi.com/documentation/microcontrollers/micropython.html, viewed: 14 July 2023. [39] Amazon: Additional heater band. Available at: https://www.amazon.de/- /en/gp/product/B0BGL4C9XB/ref=ox_sc_act_title_2?smid=A3V5K7YPP8DADN& amp&psc=1, viewed: 18 July 2023. [40] W. Liu, J. Zhou, Y. Ma, J. Wang, J. Xu: Fabrication of PLA Filaments and its Printable Performance. IOP Conf. Series: Materials Science and Engineering 275 (2017) 012033. [41] S. Hamat, M.R. Ishak, S.M. Sapuan, N. Yidris, M.S. Hussin, M.S. A. Manan: Influence of filament fabrication parameter on tensile strength and filament size of 3D printing PLA-3D850. Materials Today: Procedings74 (2023) pp. 457-461. [42] V. Mirón, S. Ferrándiz, D. Juárez, A. Mengual: Manufacturing and characterization of 3D printer filament using tailoring materials. Procedia Manufacturing 13 (2017) pp. 888-894. Bibliography
70 Appendix Code used in the Raspberry Pi Pico microcontroller from machine import Pin, PWM, ADC from picozero import Pot #import electronic components from microcontroler import machine import time import rp2 #from machine import Pin from machine import Timer #from machine import PWM #import time timer=Timer() led=machine.Pin(18, Pin.OUT) button = Pin(19, Pin.IN, Pin.PULL_UP) # 25 onboard LED pwm1=PWM(Pin(16)) pwm2=PWM(Pin(17)) pwm1.freq(1000) pwm2.freq(1000) pot = Pot(0) #potentiometer, orange cable iteration = 50 volt = [0] * iteration d = [0] * iteration not_enable = machine.Pin(14, machine.Pin.OUT) direction = machine.Pin(13, machine.Pin.OUT) step = machine.Pin(12, machine.Pin.OUT) etat1 = False # definition True=motor ON, False=motor OFF etat2 = False
71 def roll(dir, x, v): direction.value(dir) for i in range(0,x): step.value(1) time.sleep(1.0 / v) step.value(0) time.sleep(1.0 / v) def diameter(V): return (65.053 - 76.193*V + 30.804*(V**2) - 4.223*(V**3)) #equation for calibrate while True: etat1 = button.value() print("etat1:",etat1, ":definition 1=release, 0=pressed") time.sleep(1) etat2 = button.value() print("etat2:",etat2, ":definition 1=release, 0=pressed") if etat1 == etat2: led.off() pwm1.duty_u16(0) pwm2.duty_u16(0) print("ventilator off") time.sleep(1) else: led.on() pwm1.duty_u16(65500) pwm2.duty_u16(65500) print("ventilator works") time.sleep(1) break f= open("filament.txt","w") while True: voltage = 0 for i in range(iteration): r = pot.voltage volt[i] = r volt_average = sum(volt) / iteration d_average = diameter(volt_average) sum_d = 0 for volts in volt: sum_d = (diameter(volts)-d_average)**2 standard_deviation_d = (sum_d/(iteration-1))**0.5 print("diameter of filament is ", d_average, " ") #write the result of the diameter of the filament v=650 roll(1, 100, v)
72 print("speed of motor is ",v,) d_average=str(d_average) d_average=d_average.replace('.',',') f.write(d_average) f.write("\n")
73