Four-Axis CNC Machine With Microcontroller For Cut
Four-Axis CNC Machine With Microcontroller For Cut
1515/SBEEF-2016-0006
FOUR-AXIS CNC MACHINE WITH MICROCONTROLLER FOR CUTTING
POLYSTYRENE WITH HOT WIRE
Abstract. Numerically controlled machines require precise First, is related the mechanical and actuation solution of
control, because it is always necessary to know the placement the machine. Then, is presented the electrical diagram of
of the effector. Control involves the use of electric motors that the microcontroller board, the block diagram of the
can be checked with precision. Therefore stepper motors are system, the control software, an example of use and the
preferred. A further advance in stepper control is to
incorporate a reaction mechanism for the rotor (for example,
conclusions.
an encoder) so as communication is optimal for generating
the torque, depending on the position of the rotor. This turns 2. MECHANICAL AND ACTUATION SOLUTION
the motor into a servo mechanism with very high torque and OF THE MACHINE
very good position resolution. An advance in this technique is
to operate the motor in a closed loop only if the error of rotor
positioning becomes too high. This will allow the system to Figure 1 presents the mechanical solution chosen for the
avoid oscillation while searching for a position, a problem CNC.
that commonly occurs with servos. The supervision of a
numerically controlled tool is limited to the control of electric
motors that actuate mechanical assemblies. Control can be
implemented by using specialized integrated circuits or
microcontrollers. This paper presents a numerically
controlled (CNC) machine with microcontroller.
1. INTRODUCTION
FoamWorks (Figure 4) and JediCut (Figure 5) software The original designed card had no diode and thus the coils
were used for direct machine control through computer of engines eased back around the circuit, which generated
parallel ports because they allow a much broader set of a lot of heat and ultimately burnt the circuit, although the
instructions and thus the device becomes more versatile. 2.5 amps value was not reached – the maximum value,
according to catalog sheets of the integrated circuit.
Both software presented above function in a similar way.
They allow for the uploading of files containing An alternative we tried was decreasing the motor control
sequences of coordinates for each of the two towers (x1, pulse width.
y1 respectively x2, y2).
This solution was not effective since the motors no longer
Depending on the set speed, the software calculates the had the necessary force to move the mechanical
number and speed of control motor impulses, thus moving assemblies. The final solution was to equip the circuit
the machine and implicitly the copper-nickel hot wire that with auxiliary components, diodes and 2 comparators for
cuts polystyrene. each coil; when detecting a current that was higher that
the one allowed by coils, the comparators disabled voltage
on that particular coil.
5. CONCLUSIONS
As example we shall assume that we want to engrave, on For the command part we used a microcontroller, along
a piece of material, the outline of a rectangle with the size with all options that such a circuit can provide.
of 10x5 cm, having an etching depth of 4 mm. The initial
corner of the rectangle will be 10 centimeters away from We tried and managed to find the components that are
the edges. We assume that the processed material has a needed for amplifying current in such an application.
thickness of 5 cm. Once the component was found (IC L298), we managed
to understand its operation and linked it to the rest of the
Depending on the chosen head for the cutter, more or system.
fewer passes to etch a trench with a depth of 4 mm will be
necessary. In case we use a little cutter, multiple passes However there are still obstacles in building a CNC
through the material, at successively greater depths, are machine. The quality of operation is dependent upon the
required. In this case we assume that the cutter installed range of potential compromises every designer/builder is
can grave at a depth of 2 mm at a time. Thus we need two ready to accept. Although building such a machine has
passes to get the final depth of 4 mm. To ensure that errors become available to the general public, it still involves a
are not transmitted further if stepper motors lose steps, we significant financial effort.
shall use the home function at some point in the middle of
the program.
Scientific Bulletin of the Electrical Engineering Faculty – Year 17 No.1 (36) ISSN 2286-2455
The purpose of this scientific paper has been to achieve a [5] D.S. Bernstein, Rules Rule – Real Time
4-axis CNC machine, aimed at the semi- professional Engineering, IEEE Control Systems Magazine, vol.
level, able to carry the specific functions of 31, no. 3, pp. 6-7. 2011.
[6] J.Y. Fiset, Human-Machine Interface Design for
6. REFERENCES Process Control Applications, ISA Press, USA,
2008.
[1] Viorica Spoială, Helga Silaghi, Acţionări electrice [7] Popa M., Microprocesoare şi microcontrolere,
speciale, Editura Universităţii din Oradea, 2010. Editura Politehnică, Timişoara, 1998.
[2] V. Iancu, D. Spoială, Viorica Spoială, Maşini [8] Elena Maria Marginean, Programarea și operarea
electrice şi sisteme de acţionări electrice, vol.II, Ed. mașinilor-unelte cu comandă numerică. Teste și
Universităţii din Oradea, 2006. aplicații, Editura Transilvania, Cluj-Napoca, 2015.
[3] Daniela E. Popescu, Arhitectura și organizarea [9] S. Dale, H. Silaghi, D. Zmaranda, U. Rohde,
sistemelor conventionale de calcul, Editura Intelligent Design Environment for Second-Order
Universitatii din Oradea, 2002. Positioning Systems, International Journal of
[4] R. Islam, et al., Permanent-magnet synchronous Computers, Communications & Control, Vol. 10,
motor magnet designs with skewing for torque ripple Nr. 2, April, 2015, ISSN 1841-9836, pp. 165-173,
and cogging torque reduction, IEEE Transactions on 2015.
Industry Applications, vol. 45, pp. 152-160, 2009.