PDA

View Full Version : NEW MEMBER: 4x4 cnc router



kingfisher
10-10-2009, 05:31 PM
Hi guys, i have considered building a cnc router for a while now so heres my build stage!
i would appreciate any help on the electronics side ? as I'm am really lost here.
take a look at the pictures and let me know what you think!

kingfisher
10-10-2009, 05:34 PM
heres a few pics of the drivers :)

tribbles
10-10-2009, 11:07 PM
I'm not sure exactly how much help you need, but I'll try to be as clear as possible, and it may be a little basic.

The Gecko controller will have a minimum of 3 wires going to the breakout box - unfortunately, it's a little unclear from the picture, but I did find this site (http://www.cnc4pc.com/Multifunction_CNC_Board.htm), where they have a PDF of the wiring diagram.

The three wires you need for each of the Gecko drive units are:

- Ground
- Step direction
- Step clock

These will need to go to the Gecko's "COMMON", "DIR" and "STEP" pins respectively. The jumper towards the middle of the board (labeled "COM TERMINALS" in the PDF) will need to be set to position 2-3 (rather than 1-2), because this will put the COM terminals to GROUND, rather than +5v.

Look at the bottom of the board in the PDF, which is the top as you've taken the picture, for which is which - so, for the X-axis, you would use:

"2 X Step" -> "STEP"
"COM" -> "COMMON"
"3 X Dir" -> "DIR"

Y-axis:

"4 Y Step" -> "STEP"
"COM" -> "COMMON"
"5 Y Dir" -> "DIR"

I'll leave the other axes for you to work out :smile:

The "DISABLE" pin can also come from the breakout board, normally a charge pump circuit - although I can't see an output for that in the PDF.

You'll need a resistor across the "CURRENT SET" pins - the top-right corner of the Gecko box shows what you'll need (which will need to be matched to the motor you're using).

The power supply should have two wires coming from that - these will need to go to the Gecko's left hand connectors (as you've pictured them). Make sure that the PSU ground goes to the "POWER GROUND" pin, and the PSU + supply to the "+18 TO 80 VDC" pin.

Now, the motor - there's 3 basic ways in which you can wire it up. Most of the time, you want both power and torque, so you'd use a parallel connection (parallel will run the hottest).

The colour of the wires is important, as they will denote which phase pin they need to go to. I think that most wire colours do follow the same standard, but I can't guarantee this. Each wire is used once, and are connected to another wire. Edited to add - I've just seen a better picture of the motor in the other thread (and the fact that it's from Zapp, which is where I got mine) - and this should be the same.

The way I've wired mine up is:

Yellow wire and black wire -> Phase A
Blue wire and red wire -> Phase A'
Orange wire and green wire -> Phase B
Brown wire and white wire -> Phase B'

(I've used Phase A' to indicate the Phase A with the bar above it).

I took a picture of it (http://www.tribbeck.com/steel/stlcutter2/DSC00175m.JPG) while I was building my machine. The connector is arranged A, A', B, B' (from left to right).

I think that should hopefully cover the basics. There are things I've omitted (such as power to the breakout board, and also power to the PSU), but they shouldn't be too difficult.

kingfisher
11-10-2009, 07:42 AM
Hello

thank you so much! i really didn't think anyone would help :nope:
i was also wondering what type of slow blow fuse (amp) and holder i should use on the power side before the drivers ?

tribbles
11-10-2009, 09:03 PM
I didn't use one, but generally you should base it on the current that will be consumed by the driver.

So, if the output of the driver is 4A at 50V, then that's 200W (multiply the two together). Then, divide by the voltage input of the driver, say 100V. This means 2A.

However, that does assume there's a 100% efficiency in the transfer, which there never is. I'd estimate between 75% and 90% efficiency, so worst case, it will be 2 x 100 / 75, or ~2.7A. Then choose the next value up from there (probably 3A).

This is also applied to the power supply itself, so if you had 3 drivers with 2.7A@100V (270W x 3), then that would be 810W. Giving 220V into the PSU, you'd need a 3.7A, but with 75% efficiency, it's 4.9A - or say 5A.

I'd probably be tempted to use a self resetting fuse - if anything goes wrong, just remove the power, and the fuse can be reused.

As to the type of holder - really up to you.

One thing though - if your motors are rated at 4A per phase, then wiring them in parallel will actually consume 8A, since in parallel, the current is doubled (you're putting two phases in parallel).

irving2008
11-10-2009, 09:53 PM
The other thing you need to consider is what wire you connect drivers to power supply and drivers to motors with.

Each driver should be connected seperately to the power supply, do not daisy chain them. An individual fuse in the feed to each driver is a good idea. It should be rated 50% higher than the driver output current - so for motors with a 2A phase running bipolar (4A per phase, 8A per driver) a 12A fuse is a good idea. It doesnt need to be slow blow on the driver side of the power supply. Either chassis mounted fuse holders, or the in-line automotive types will work well up to 16A.

For a 2A phase motor wired bipolar (4A) you need at least 0.5 mm sq per core (typically 16/0.2 wire) - do not use single core house wiring cable, its not flexible and will crack under the vibration of the motor (in time). Ideally it should be screened wire... often you can find this on eBay listed as 4-core CY. 4-core 16/0.2 wire is good for 4.5amps (9 Amps derated 50%), above this you will need to use 24/0.2 wire which is good for 8A in 4-core form (although they are usually derated below this for indistrial applications). example (http://uk.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=0522428&cm_vc=av_uk)

kingfisher
11-10-2009, 11:06 PM
Hi Guys

thank you all, I'm going for the din rail type of holders (fuse)

so for my motors....
http://www.axiscnc.com/pdfdocs/sy85sth1184208a.pdf

setting these up in unipolar (4.2) i have the 82K +/- 5% 1/4W Resistors which i think is just right for the drivers with the motor settings ?

so am i right in thinking a 12amp fuse! i cant seem to find the trip style of fuse so should i still go with the slow blow 12amp glass fuse ?

my driver specs are here http://www.geckodrive.com/upload/G203V-REV-7-MANUAL.pdf

says something regarding 10amp short circuit trip protection :eek:

so would a 10amp fuse be good before it gets to the drive ?

oh i wish i was electrical minded! :yahoo:

irving2008
12-10-2009, 12:44 AM
Hi Guys

thank you all, I'm going for the din rail type of holders (fuse)

so for my motors....
http://www.axiscnc.com/pdfdocs/sy85sth1184208a.pdf

setting these up in unipolar (4.2) i have the 82K +/- 5% 1/4W Resistors which i think is just right for the drivers with the motor settings ?

so am i right in thinking a 12amp fuse! i cant seem to find the trip style of fuse so should i still go with the slow blow 12amp glass fuse ?

my driver specs are here http://www.geckodrive.com/upload/G203V-REV-7-MANUAL.pdf

says something regarding 10amp short circuit trip protection :eek:

so would a 10amp fuse be good before it gets to the drive ?

oh i wish i was electrical minded! :yahoo:



The Motors you have are 8 wire...they can only be used in bipolar parallel or bipolar series with those drivers. So you have the choice of running at 6A or at 3A per phase. You can of course run them wired bipolar parallel at a lower current, e.g. 4A if you wanted but the only reason to do that is if your power supply wasnt up to the job. Your PSU is an 11A output. Ideally you'd want one per motor, or at least two in parallel. A single supply is going to limit you to a phase current of about 4.5A - 5A.

These are hi-inductance motors, so wiring them Bipolar Series is going to severely limit torque at speed, so I'd still wire them Bipolar Parallel but run at a reduced current of 4.5A (82k resistors). You can always add a second or third supply later and up the current to 6A.

The Gecko will shut down if you try to draw more than 10A from it. Fuses in the supply to the Geckos are additional protection in case of a catastrophic failure of the Gecko - to prevent wires melting and potential fire. They should be rated at 10 - 12A in this instance.

The other consideration is that the Gecko need a substantial heatsinks for running at 5A - I think you have these and showed a pic of them in another thread?

One word of warning:

80v at 11A is potentially lethal (as is anything above 50v - which is why phone systems are all 50v). Keep hands away and if you have to adjust anything while its switched on always work with one hand in your pocket - that way you stay safe!

kingfisher
12-10-2009, 04:47 PM
thanks guys


right yes i will keep to these settings, Bipolar Parallel...4.5A with the 82k resistors! if i need to change setup at a later date then so be! (funds are running low)
all the fuse gear is on its way also my steel cabinet to house all the parts.
anyone on the wiring for the motors with the setting above (Bipolar Parallel)

oh...please a link to some wire for the controller set up (in the box,power,drivers,breakout board) i have some shielded wire for the motors, I'm sure you guys know the best place to buy ?

once again i cant thank you all enough and so glad i posted here!

irving2008
12-10-2009, 09:56 PM
thanks guys


right yes i will keep to these settings, Bipolar Parallel...4.5A with the 82k resistors! if i need to change setup at a later date then so be! (funds are running low)
all the fuse gear is on its way also my steel cabinet to house all the parts.
anyone on the wiring for the motors with the setting above (Bipolar Parallel)

oh...please a link to some wire for the controller set up (in the box,power,drivers,breakout board) i have some shielded wire for the motors, I'm sure you guys know the best place to buy ?

once again i cant thank you all enough and so glad i posted here!hookup wire for linking breakout to drivers and other low voltage stuff, use standard 7/0.2 equipment wire available from Maplins (http://www.maplin.co.uk/Module.aspx?ModuleNo=6192)amongst other places. A good colour scheme helps with fault finding...

For wiring power supply to drivers use the same wire as for the driver to motors. you will need a 4-way 10A connector block to transition from the 4-core wire to the motor wires.

kingfisher
13-10-2009, 11:33 PM
Thank you irving2008

my steel cabinet arrived today...looks very good! will post picture in a few days, Also i was wondering about how to connect the stepper motors to the drivers. I was wanting to use some sort of plug (din) to house on the out side of the controller unit ? but i cant seem to find any what would be up to the job of the amount of power that would travel thought these they all seem to be audio!
any suggestions ?
oh in line fuses here, set resistors...work can now start

audioandy
14-10-2009, 06:50 AM
Hi

Here's the eBay item number to the connectors I used, excellent quality and had good service from the seller

300336255268


Andy

kingfisher
14-10-2009, 07:16 AM
Hi Andy

thanks, Would these be suitable ? ebay item no...220419398372
i like how these look :naughty:

HiltonSteve
14-10-2009, 10:12 AM
Here's another option for you -

http://www.arceurotrade.co.uk/Catalogue/Stepper-Motors/Wiring-Accessories

I used these on my machine and they are pretty good quality.

They sell cable and also potting box's for terminating the wires on the side of the stepper, looks very neat when done. Yet another idea I stole from John S!

Kn8
14-10-2009, 10:12 AM
thanks, Would these be suitable ? ebay item no...220419398372
i like how these look


Hi Kingfisher
Looking on the Neutrik website the five pin plug, the contacts are rated at 7.5A which is fine.
One disadvantage with these connectors is you will need to mount them so that they cannot be knocked and become accidently unplugged while in use as this may damage the related drive.

Kn8

irving2008
14-10-2009, 09:49 PM
These (http://cgi.ebay.co.uk/3-4-Pin-Male-Female-Plug-for-Midland-Uniden-Radio-A4P_W0QQitemZ290358873177)are what I used... 4pin plus overall case screen, screw down locking... ok for 6A steppers...

kingfisher
16-10-2009, 12:35 PM
These (http://cgi.ebay.co.uk/3-4-Pin-Male-Female-Plug-for-Midland-Uniden-Radio-A4P_W0QQitemZ290358873177)are what I used... 4pin plus overall case screen, screw down locking... ok for 6A steppers...



thanks irving2008

Please if you have time a little help on the wiring of the motors for Bipolar Parallel, Had a look at the drawings with no hope! i would really appreciate some help. I have all the parts i need now fuses, wire ,connectors etc.i will have a go over the weekend :heehee:

Gary
16-10-2009, 10:30 PM
You can buy those connectors in maplin.
I used them on my x3 conversion.

irving2008
16-10-2009, 11:43 PM
You can buy those connectors in maplin.
I used them on my x3 conversion.
True, but at maplin they are £4 a pair plus postage... thats £15 instead of £6...

Gary
17-10-2009, 07:52 AM
Just saying if you have a maplins near you.
We have two near us, and i needed the connectors that day so made it easy


True, but at maplin they are £4 a pair plus postage... thats £15 instead of £6...

irving2008
17-10-2009, 02:13 PM
Just saying if you have a maplins near you.
We have two near us, and i needed the connectors that day so made it easy
Point taken Gary, as long as they have them in stock..

I have one Maplins near home and two near work.... and they NEVER seem to have anything I need in stock... too busy selling cheap, crap, R/C helicopters that die after 3min flight...

having said that, today I could buy 3 pairs of connectors as long as I visited all 3 Maplins... life's too short!

kingfisher
18-10-2009, 12:49 AM
Hi guys

he he i love this place so much info!
i have a few cable connectors in mind now just choosing which one suits my needs...Anyways made a start on the controller box started fixing to the back plate. Waiting on more parts pffff.
Also started the motor mounts will add pictures soon.
thanks guys and please keep the comments flowing.