Вы находитесь на странице: 1из 5

Modeling and Controlling of Temperature in 3D

Printer (FDM)
Htin Lin Oo1, Kyaw Zaw Ye, Ye Htet Linn
Department of automatic control system and control
National Research University of Electronic Technology
Zelenograd, Moscow, Russia
1
htinlinoo53@gmail.com

Abstract—This paper shows the design in control system of


3D machine which consists of mechanical, electrical & electronics
systems. The aim of this paper is to create effective design
machine which is controlled by a computer and capable of
producing 3D solid representation of a CAD model in plastic
from plastic extruder. The control system for the stepper motors
and heating actuator are increased to satisfy the exactly
requirement of this machine. At least, presents results which Fig. 1. Closed loop block diagram for temperure control
based on vary tests on the developed rapid prototyping machine,
the mechanical system and the electrical system worked. The TABLE I. PID CONTROLLER PARAMETERS FOR 3D PRINTER
(REPLICATOR)
main objective of this paper is to effective design and the suitable
temperature control system of 3D Machines. PID controller parameters

Keywords—PLA; RPM;PID controller; filament; temperature Kp 7.0


Ki 0.35
I. INTRODUCTION Kd 36.0
Nowadays 3D printers vary in order to differences of types
are developed rapidly used in homes and industry. Three- II. CONCEPTULA DESIGN OF THE SYSTEM
dimensional objects are contained successive layers. Again, 3D After showing the information from the business products
prototyping machines are widely used according to develop a which had been discussed in the literature review, around 280
model manufactured. These machines are usually controlling mm (length), 280 mm (width) and 250mm (height) building
by Numerical Control (NC). Numerical Control is meaning as envelope will be a fair working space for the 3D prototyping
an operation of machine tools by means of specifically coded machine which will be built in this project. Thus, according to
instructions or Computer Numerical Control (CNC) developing a 3D printer with 280 x 280 x 250 mm building
programming language to the machine control system [1]. That envelope, the frame will have to reach an overall 800 mm to
programming language such as G-code and M-code is widely 1000 mm length and width of 500 mm to 600 mm height
used to computerize an entire machining process or automation considering the tolerance from others factors (HBP and Z-axis
process. Moreover, CNC programming languages can be moving area). Thus, from the estimated machine size, it is
worked to define the position of the machine tools to move to, possible to predict that the frame will be sturdy and stable
the translation speed of the machine tools, the change of enough since the base is wide and the height is stable for the
machining tools and the dispensing of coolant and so on. There frame design.
are various types of rapid prototyping machines that are
available in the market. The technical points of some existing Since the frame design, the railing systems and XYZ
systems are express below. motion drivers are needed to put in consideration throughout
the design. The fully supported rail is chosen as the XY axes
A. MakerBot Replicator supporting railing system. As on the Z-axis, rod rail is
This type of 3D prototyping machine is MakerBot preferable for vertical supporting structures due to it is simplify
Replicator. Figure 1 express block diagram of PID controller installation and high efficiency during Z-axis movement.
using the MakerBot Replicator’s controller board. From the Exactly precision in the alignment is needed for the rail during
Maker Bot, shows the parameter for the Replicator’s PID the installation and lubrication of the railing system that will
controller in Table I. These parameters are calculated using eventually smooth and ensure the printing precision. The fully
Ziegler-Nichols tuning method [3]. supported rod railing system is used for the railing system for
smooth and study XY axes movements, which will settle both
printing precision and quality.

1738 978-1-5386-4340-2/18/$31.00©2018 IEEE


B. Electronics Heat Dissipation
Heat dissipation of the electronic components is an
essential aspect to ensure the robustness of the system and
prevent failure of its subsystem. Heat dissipation of the stepper
motor drivers and the power MOSFETs must be taken into
determination due to the long operation period of a rapid
prototyping machine by installing properly sized heat sink as
passive dissipater.

C. Power MOSFETs Heat Dissipation


Power MOSFETs dissipates a significant amount of heat as
switching or controlling a sizable current source according to
switching losses and internal resistance of the device. To
prevent thermal damages, heat sinks are used to reduce the
junction temperature to a manageable level as shown in Figure
2. Moreover, excessive heat alters the characteristics of power
MOSFETs that usually reduces the maximum current output,
the all parts efficiency and the reliability.
The heat dissipation of a MOSFET is usually caused by
Fig. 2. Conceptual design of 3D prototyping machine. two components as shown in equation (1):
Figure 2 shows the whole of conceptual design of the 3D pdissipation = Presistive + Pswitching (1)
prototyping machine with acceptable tolerances and sizes of
the parts. 2
2
CRSSVmfsw I load (2)
pdissipation = Iload RDS (on) [(1+ 0.005× (TJhot − Tspec )] +
I Gate
III. SOFTWARE AND LOGIC DESIGN
Equation (2) the determines taken as a whole power
A. Extruder Heater dissipation of the switching MOSFET at maximum load and
accounts for the switching losses where TJ hot is the maximum
permitted die junction temperature, Tspec is the temperature at
which in on resistance is specified, CRSS is the reverse-
transfer capacitance and fSW is the switching frequency [5].
To determine the maximum heat dissipation, the assumed
maximum current load was selected 10A, the input voltage was
selected 12V and a switching frequency of 2 kHz. The another
parameters of the equation are based on the IRF540 datasheet
specifications.
−3 2 3
pdissipation =102(44×10−3)(1+0.005×(175−25)] +40×10 (12 )(2×10 )(10) (3)
(6.5)

pdissipation (max) = 11.1w (4)

Fig. 3. Extruder Heater

The extruder heating block consist of an aluminum


mounting block and a 40W heating element where is rated at
12V. Similar to the heat bed, the power dissipated by this
heating element is controlled by varying the duty cycle of the
PWM applied by the microcontroller. When a 12VDC is
applied to this heating element, the control system for this
system used an N-channel enhancement mode MOSFET to Fig. 4. Electrical analogy for the heat distribution component
control the power delivered as shown in Fig. 3. The IRF540
MOSFET will be used together with a 4N25S optical isolator The heat distribution in an electronic component is
where will provide a gate voltage of 12V to the MOSFET analogous to Ohm’s Law where current represents heat
whenever a trigger signal is received from the microcontroller. dissipation, resistance represents thermal resistance and
potential difference represents temperature difference. The
following calculations assumes that the system operates under
stagnant airflow conditions, the junction to case thermal

1739
resistance, (RșJC) is 1.15 °C/W and the case to sink thermal E. Extruder Mounting and Positiong
resistance, (RșCS) is 0.5 °C/W. These estimations can be The extruder is mounted on two pieces of L-profile
obtained via the datasheet and should give a fairly realistic aluminum bar. The L-provides aluminum bar is tough and does
prediction of the heat dissipation characteristics. The heat sink not bend when exposed to heat or humidity over a long period
is used for this application has a thermal resistance of 1.1 of time. Since the 3D prototyping machine uses fused
°C/W. However, 1.54 /W must be used to account for the deposition method, the material is melted and extruded out to
spreading thermal resistance (40% raise due to point thermal form the model layer by layer, thus no external forces were
heat source). When the junction temperature is within the introduced that may cause bending on the Z axis structures as
reasonable operating range, the heat sink used is appropriate compared those found on CNC milling machine. Hence, the
for this application. two L-profile aluminum bar is sufficient enough to support the
extruder’s weight during the prototyping process. The tip of the
D. Heated Bed Platform nozzle is required to be suspended at least 0.8mm from the heat
Figure 5 shows the heated bed platform of the 3D bed. This is to ensure the extruded PLA plastic is able to adhere
prototyping machine. The heated bed platform is redesigned on the surface of the heated bed platform. Thus, an infrared
using a simple printed circuit board design. The copper surface (IR) sensor is located on the Z axis to act as a position sensor
produces heat as current flow through the PCB. However, the or boundary limit switch in this case. Whenever the IR sensor
problem arises when the melted PLA does not adhere to the received a signal, the Z axis will stop moving indicating that it
copper surface causing the all of model to be dragged along has reached the required height above the surface of the heated
with the extruder leading to a prototype failure. Several bed platform. Any further movement towards the heat bed
proposals were presented as a solution to the problem. Placing platform will potentially damage the heating surface and also
an aluminum plate or other metallic materials on the heated bed the extrusion nozzle forces were introduced that may cause
platform surface, the ABS adhering issue is still present and bending on the Z axis structures as compared those found on
does not solve the problem. Further testing confirms our CNC milling machine. Hence, the two L-profile aluminum bar
hypothesis that the ABS does not adhere properly to metal is sufficient enough to support the extruder’s weight during the
surfaces. At first, the aluminum plate was finally replaced by a prototyping process.
piece of wood which did not solve the issue. Finally, an acrylic
is used for the testing. The melted ABS is able to adhere firmly F. Safety Considerations
on the surface of the acrylic. Unfortunately, the acrylic sheet A safety cage has been constructed to cover the 3D
deforms due to the high temperature of 90°C from the heated prototyping machine in order to distance the users from the
bed platform. There were made several others attempts, such as heating elements during the prototyping process. This is to
using a thicker acrylic (1 cm thickness) sheet, a compact disc ensure that users do not disrupt the machine when it is in the
surface, and several other plastic elements. In addition, all of prototyping process which could harm the users. Even though
them failed to produce the desirable effect. However, our the heat bed platform have a constant temperature of 90°C, it is
finding shows that the ABS plastic adheres on surfaces which still relatively safe to touch the platform. However, the
are of plastic elements. Using the new findings, it was decided extrusion nozzle which is maintained at a temperature of more
to tape a cheap vinyl sticker, which is a type of plastic, on the than 200°C is unsafe for the user to touch it. Hence, it is
heat bed surface. As a result, the ABS plastic adheres fairly appropriate to build a safety cage in order to promote safety
well to the vinyl layer and increases the chances of a success. prototyping procedure.
Unfortunately, after several prototypes, the vinyl layer needs to
be replaced due to its poor durability which results in tears on
the vinyl sticker. IV. DESIGN OF EXTRUDER CONTROL SYSTEM
Concurrent object-oriented programs are slightly more
difficult to design, implement and maintain than sequential
programs. During the design phase, meticulous attention has
been given in this aspect to reduce the likelihood of the
complete redesign of the entire software’s architecture.
Suitable programming language is incorporated to this software
design in order to realize the following features:
• Real time temperature monitoring
• Prototyping completion rate display
• Motion control

A. Temperature Control System


Based on the temperature profile of both extruder and heat
bed as shown in Figs. 6 and 7, ground noise induced by the
Fig. 5. Heated bed platform. switching circuit of this system greatly affects the overall
performance of the temperature sensor. The ground noise of the
system is probably caused by the resistance of the ground wire

1740
which carries more than 10 amperes of current which are 2
ΔT ( s ) Vsup ply RHPLA
drawn by the heating systems and the 4 stepper motor drivers. = × (5)
Besides that, the poor common rejection mode ratio of the D( s ) Rheater RHPLACPLA S + 1
type-K thermocouple amplification circuit failed to isolate the
ground noise and the signal voltage. From Fig. 8, ground noise 1
leads to an increase of 15 °C from the steady state temperature f switching = Hz (6)
of 200 °C. A calibrated multi meter with thermocouple support 2toff
is used as an external measurement method to validate the
temperature readings. f switching = 412.5kHz (7)

C. Linear Motion System


This part will be show on the mathematical views used in
developing the linear motion system. For the following
equations (9) to (12), the linear distances are show in number
of pulses and the linear speeds are represented in the pulse rate.
Angle of gantry movement:
Ydis tan ce
σ movement = tan −1 ( ) (8)
X dis tan ce
X-axis linear distance:
Fig. 6. Extruder temperature profile.
2* X dis tan ce
Dxaxis = pulses (9)
M xstepsie
Y-axis linear distance:
2* Ydis tan ce
Dyaxis = pulses (10)
M ystepsie
Z-axis linear distance:
2* Z dis tan ce
Dzaxis = pulses (11)
M zstepsie
Fig. 7. Heat bed temperature profile. The linear motion control system is an essential part of the
system where allows the system to position the extruder at the
B. Heat Bed and Extruder Heater Control System correct position and adjust the movement speed of each
individual axis corresponding to the angle of motion and the
Set Output average movement speed. The pulse rate and number pulses to
temperature temperature
Heating
reach a specific position at a suitable velocity can be
Microcontroller PWM Heat Plate calculated. Moreover, cumulative errors caused with precision
Element
loss during the conversion from a floating point number to an
integer should be tracked and factored into the actual position.
Amplifier Thermostat Precision loss is significant since the system is highly repetitive
which will lead to large deviation.

V. SYSTEM PERFORMACE EVALUATION OF THE CONTROL


Fig. 8. Block diagram of the thermal control system. PARAMETERS
Closed loop control of the thermal system is required The simulation block and apply PID optimization using
according to maintain the optimum extrusion temperature of MATLAB’s SIMULINK toolbox as shown in Table II, we got
about 200ºC and a heat bed temperature of 100ºC. Figure 8 the response as below results. Integral windup issues due to the
expresses the block diagram of the control system of this 3D saturation limits of the heat transfer function is also included in
prototyping machine. By utilizing equation (6) and the NIST the optimization by disabling the integral function until the
numerical model for thermocouples, the PID controller has process variable reaches the controllable region.
been developed to provide the best control for this system.

1741
VI. CONCLUSION
In conclusion, the development stage for the electronics
components and control system for the 3D prototyping
machine is completed. In usually, the electronics and software
system have achieved the project goals. Based on vary tests on
the developed rapid prototyping machine, the mechanical
system and the electrical system worked as expected with
respect to the CAD drawings and design. However, it is
believed that the quality of prototype created by the machine
can be further improved by using a material with a lower glass
transition temperature.
Fig. 9. Temperature and thermocouple output voltage against time for
extruder heater. REFERENCES
[1] R. Condit, Stepping Motors Fundamentals, Microchip Technology Inc.,
According to Fig. 9, the thermal system has been settling 2004.
time of about 71 seconds or approximately 1.2 minutes with an [2] Smid, P., 2003. CNC Programming Handbook. 2nd ed. s.l.:Industrial
overshoot of 6.5%. For this application, overshoot of the Press Inc.
control system is the least important aspect in comparison to [3] Team, R., 2010. CAM Toolchains. [Online],Available at:
http://reprap.org/wiki/Comparison_of_RepRap_Toolchains [Accessed
the settling time due to the usability criteria. The system should 23 2 2012].
heat up as fast as possible in order for users to commence
[4] Industries, M., 2012. MakerBot Thing-O-Matic 3D Printer Kit -
prototyping their product in the shortest possible time frame. MakerBot Industries.
[5] Suh, S.-H., Kang, S.-K., Chung, D.-H. & Stroud, I., 2008. Theory and
TABLE II. PID TUNING PARAMETERS FOR EXTRUDER HEATER Design of CNC.
[6] J.D.Spencer, P.M.Dickens, C.M Wykes, Rapid prototyping of metal
PID parameters Values parts by three-dimensional welding. Proceedings of th Institution of
P 10.9 Mechanicak Engineers.Part B, Journal of Engineering Manufacture
I 0.56 212(B3) (1998)175-182.
D -28.4
[7] 5axismaker Homepage. 5axismaker. URL: http://5axismaker.com/.
[8] Design, E., 2002. Calculate Dissipation For MOSFETs In High-Power
Supplies. [Online] Available at:
http://electronicdesign.com/content/topic/calculate-dissipation-for-
mosfets-in-high-power-su/catpath/power [Accessed 2 October 2012].

1742

Вам также может понравиться