Documente Academic
Documente Profesional
Documente Cultură
htm
Introduction
1 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
myself. And, I didn't want to build one that would cost almost as much
as a commercial machine: Otherwise it might have been smarter to just
BUY one, to begin with! So, I decided to add "low cost" as one of the
design goals. I also expected to end up with one or more additional
products to sell, as a result of this project, to (help) justify the time that I
spent on it.
Machine Number 1:
Starting a project like this one, while having so little knowledge of what
is needed to complete it, makes progress very slow, at first. I did a lot of
searching and reading of the Usenet newsgroups, and many websites,
through http://groups.google.com. (I do have an electrical engineering
degree, but had never worked with or studied stepper motors, and knew
almost nothing at all about milling/drilling machines, nor CNC
machines.)
I learned about stepper motors, and their driver circuits, and the software
used to run and control them. And I saw some of the ways that others
had designed and built their own CNC machines. I also began to
understand some of the limitations imposed by different types of
machine designs. I started to get my design goals better-defined, and also
saw where the machine I wanted to build would fit into the continuum of
sizes and types of CNC drill/mill machines, which, by the way, hehe, is
very near "the bottom": All I needed was a small machine, able to drill
boards of up to 6"x4" in size, with a worst-case hole-placement accuracy
of about 0.01-inch or so, which would be about 1/3 to 1/4 of a hole's
diameter (using 0.035" or 0.04" holes). And I didn't need to do a very
high volume of drilling. I figured I'd be happy if it could drill at least
2,000 holes per day (although, hopefully, not taking all day to do that!).
2 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
I started to feel like I could probably design and build a machine. But,
having both my "low cost" design-constraint, and the fear of "messing
up" on something I'd never done before, I wanted to START with a
design that would be VERY quick and easy to build, and EXTREMELY
inexpensive, that could serve as a "testbed" for learning more about
stepper motors, their driver circuits, and the software used to control the
machines driven by them. After that, I hoped I would be
much-better-positioned to build something that was closer to being a
"real" CNC mill/drill machine.
I also thought about just building the x, y, and z axes from scratch, using
threaded rods (leadscrews) connected to stepper motors to move them.
And I am considering using a purchased "compound slide" milling table
as the x-y positioner portion of a machine, which would be modified by
replacing the leadscrews' manual cranks/handles with stepper motors.
One possibly-big advantage of that approach, which would also be
gained if building the x-y table "from scratch", using leadscrews, is that
the leadscrews provide a larger gear ratio, which in turn gives better
linear resolution, per step. Even the small, cheap milling tables usually
move each slide-table by 0.1-inch per full turn of the leadscrew crank,
which would give a movement of 0.0005 inch for each full-step of a 200
steps/rev motor, as opposed to something like 0.008 inch per step for the
typical dot-matrix printer's carriage assembly. I am now planning to use
one of these commercially-available x-y milling tables when I build my
second machine. I have purchased one, the cheapest ($99) model at
www.use-enco.com. But, I bought the same make and model, brand new,
3 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
on eBay.com, for only $69 plus shipping (the seller happened to be fairly
near my area, though, so shipping was only about $15, for the 36-pound
table).
And, I also thought about using two old dot-matrix printers' mechanisms
to make the x-y positioning system. I didn't THINK that one printer's
mechanism could be mounted directly onto another one's
printhead-carriage assembly, because I assumed that the "bottom" printer
wouldn't have enough power to still be able to move correctly, with the
weight of the other one on it. So, originally, I considered having one
printer carry the printed circuit board (PCB), with the other printer
suspended above and perpendicular to it, to move the drill, giving the
second axis of positioning. However, I still would have needed to find a
way to move the drill up and down (I was hoping I could figure out how
to make the printer's paper-feed assembly, and/or motor, help perform
that task.).
I found out that the IBM Proprinter models have pretty HEFTY
print-head-carriage stepper motors in them, at least compared to the
Epson FX-850 and FX-1050 models. The IBMs' motors are 2.25"
diameter, and about 2" long. (They are Sanyo Denki "Step-Syn" models,
4.1V, 1.1A, 200 full-steps per revolution, unipolar (i.e. 6 wires).) The
IBM Proprinters also utilize a screw-type drive system for the printhead,
as opposed to the cog-belt drive system that most of the other older
printers use.
4 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
A071, also had the big motors, with sizes just like those in the IBM
Proprinters: 2.25" diameter x 2" long (But it had TWO of them, instead
of just one: Minebea Co. Ltd. "Astrosyn" "Mini-Angle Stepper" models,
6V, 0.85A, 200 full-steps per revolution, unipolar. (The IBMs each had
only ONE of the bigger-size motors in them, with a second one that was
much smaller, and coarser-stepped, for the paper-feed roller's drive.)).
The CPT A071 daisy-wheel printer also had very heavy, solid
construction, with printhead-carriage slides that were a full 5" apart (at
least twice as far apart as those in any of the dot-matrix printers), and a
very nice, heavy solid-metal printhead-frame/holder, between the slides,
which even had roller bearings above and below the slide bar on the
"little" side (the side that was farthest from the paper path) (See photos:).
5 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
After taking apart the printers and actually SEEING what their carriage
mechanisms looked like, I began to think that the big CPT A071
daisywheel printer "should" be able to have one of the small Epson or
6 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
To find out if that would work, though, I'd need to be able to actually
RUN the motor, and move the printhead assembly, to see if it had
enough power to move the extra weight reliably. So, I got three of
Allegro Microsystems' UCN5804B stepper-driver ICs (integrated
circuits; "chips") (I got three free samples mailed to me within a week,
from http://www.allegromicro.com .) and breadboarded a 3-axis stepper
motor driver circuit, which took as inputs "step" and "direction" signals,
so it would be able to be compatible with some of the free CNC
software, such as Dancad3D, that sends those signals to a PC's parallel
port. The Allegro 5804B IC, in addition to the "standard" full stepping
mode that powers two of the four motor inputs at a time, also supports
half-stepping mode, and single-phase-at-a-time full-step mode. (By
creating circuitry that could provide different amplitudes to each motor
input, then, by using certain patterns of the inputs' timing and
amplitudes, the stepper motors could be made to do "microstepping",
allowing the use of much smaller step sizes than the motor "normally"
supports, such as 1/4-steps, 1/8, 1/16, 1/32 steps, etc.; almost any
fractional step-size, I think; not just powers of 1/2.)
7 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
I soon had the motors going, and played around with the printers'
mechanisms. It was quite interesting to vary the frequency and the width
of the "step"-input pulses. At times, the motors seemed more like
musical instruments, with resonances only at certain frequencies. I was
also able to note large differences in a motor's torque, speed,
"smoothness", and sound/noise level, depending on the pulses' frequency
and widths.
8 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
I put the smaller printer's assembly onto the mount, on the larger printer's
printhead-holder/frame (see photo), and powered up the larger printer's
stepper motor. As I had hoped, the motor had NO TROUBLE at all,
moving the WHOLE THING, reliably (see photo:).
9 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
10 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
for me, it seems quicker and easier to just use threaded metal pipe to
make an "L"-shaped support, over the x-y machine. (And, as can be seen
in the photos, I still need to construct a platform on the smaller printer's
printhead assembly, to hold the actual workpieces. It will be made of
small aluminum channel and bar stock, similar to that used on the larger
printer's printhead frame.)
11 of 12 12/3/2005 8:35 PM
Building Inexpensive CNC Machines http://www.fullnet.com/u/tomg/gooteecn.htm
To be continued...
12 of 12 12/3/2005 8:35 PM