Showing posts with label X2 Sieg Mill. Show all posts
Showing posts with label X2 Sieg Mill. Show all posts

Sunday, 6 January 2013

Magnetic Bed Testing..

Just performed a quick and dirty test on the magnetic bed, while holding a smallish piece of steel to the bed and applying 12volts to each of the coils the piece of steel was held to the bed, enough that i could turn the bed upside down and it stayed stuck to the bed. then i tried moving the block laterally and it moved really easy :( so i thought how much power do i need to get that to stay stuck to the bed and not move sideways, so i turned up the power supply to 24volts and the coils drew 6.3amps. this held the bit of metal nice and tight :). I wouldn't mind  running the coils off 24volts but the amount of heat that was generated was beyond ridiculous.... I then thought i would test out the 10% duty Cycle test, and the results are promising, if i fire up the coil pack with 24volts i get good grip, then if i quickly turn the voltage down to 5volts the coils continue to hold the piece of metal nice and tight but after a few seconds the coils relax and the piece of metal is then allowed to move.. Time to make a PWM controller that can switch 24+volts at about 10amps and see what happens :)

Will post a further update once the controller is done and tested.

If i was to break the bed up into 3 sections of 20 hexagonal cells each section would have a effective resistance of  1/( (1/22) * 20)  =  1.1 ohms

Each section of bed would draw @12volts 12/1.1= 10.1 amps of current at 100% duty cycle
but this could be cut back to 2.5 amps once running @25% duty cycle, this could be done with a capacitor charge pump circuit of some sort or i could break each section down further into two this would give me a sectional current draw of 5.05amps @ 100% duty cycle and 1.25amps @25% duty cycle.

if was to run the coils at 24volts (like the good test showed is required) the sectional current draw would be doubled. with 3 sections each drawing 20amps @24volts ( and each sub section drawing 10amps) if i was to turn them all on at once i would need 60Amps of current at 24volts, this is unreasonable. but if i stagger fire each subsection @100% Duty cycle then cut back to 25% duty cycle i would need 10amps then 2.5amps per sub section.

the current profile would look like this
 @ 10% Duty Cycle
@ 25% Duty Cycle

ie each coil is hit with 10 amps and then its dropped back to 10Amps @ 25% Duty Cycle.
at 25% duty cycle the overlap turns out to be quite high.. i would need a PSU that spits out 25Amps @24 volts.. this is closer to reality but still a bit too far off i think.. i guess i will have to see what ebay has to say about the price of fish.. if i can find a 24V psu that is cheaper than further complicating the controller i wil do that other wise i will have to break down the coils into even smaller groups..

UPDATE: -
actually i have made an error.. the curve will look like this

the previous chart didn't take in to account the fact that we will be turning off cells after they have been driven @25% this makes things much more manageable. I can probably stagger out firing order a little more and make the curve a little flatter but this will do for now.. 15Amps @ 24Volts can be had really cheaply thanks to Ebay. just found a buy it now 24volts 20amp PSU Delivered for $66Au Bargain. this PSU allows me to fire two sub sections at once, basically this will allow for upto 33% duty cycle and if managed correctly 100% startup/inrush current can be achieved, the plan will be to turn each coil on for 90% duty cycle for the first pulse and then .1s after that, as the cycle steps thru the first time each coil is energized it will actually be on for 100% for one cycle, 90% + 10% then after that they will be turned on for 10% of the time rotating between the 6 coil subsections i can manage 16.6% duty cycle without overlap. if overlap is used i can get 33.2% duty cycle before my PSU will start to complain.

worst case is that i end up with a nice 20Amp PSU for my printer. I was running the steppers off 24volts but got to tidying things up and switched back to 12volts..



Magnetic Bed progress update

 After a day of playing with the mill I have in my hand 14 cups that i will use as a small test bed before i go and make the full 60 cups that i need for the entire bed. Mate welded tack welded them together enough for testing.


A While ago we made a foot control pedal for his tig welding machine, it was a rather simple affair, a box that hinged at the bottom with a spring inside and s few plastic gears on a POT. this was working well but after working with it my mate asked how hard it would be to add a button to half the range of the pedal, after thinking about it for about 5 seconds i found that we could put a fixed 10k resistor in series with the POT and add a bypass switch that allows us to select from 0-100amps and 0-270amps. the pedal that the manufacturer sells retails for $450au. total cost of our pedal is $32 including the new switch. with this extra fine control my mate was able to tack these together with out collapsing the steel into the area that i just milled out.


To make this thing work i require 14 (for now) coils that i can energize and create a magnetic field in the right places in these cups. 

When i first thought of this idea i had a search on Ebay for some thing that i could wind the wire onto, i ended up selecting standard sewing machine bobbins. these normally are the ones that go under the foot. Most sewing machines have a feature that allows you to load these with cotton thread with great ease, so i thought i would use my mums sewing machine to load the bobbins but she didnt seem to like the idea of enamel wire running through her machine so while i have been waiting for various parts for various projects i have started yet another project, a Coil winder. i thought it would be advantageous for me to have a way to wind coils in a controlled and repeatable manner. I also like to play with coil guns so it would get a great deal of use for that if it has the right features.

I re-appropriated a old test platform that had a stepper motor hooked up to a M3 threaded rod and a pair of guide rails, i then added three rollers to this to guide the wire to the coil form. one guides the wire from the roll in the up and down vector and the other two cross at 90' to each other to allow me to guide the wire to the left or to the right. My thoughts on the coils i need for my coil gun are varied and rather random, i plan to test differently wound coils to work out whats best. so i have started my coil winder with a simple wind program to start with, this is that the wire is loaded in a random fashion with the stepper motor no moving. these bobbins are only 10mm wide so its not needed. later i plan to add a way to wind coils in either direction, left or right hand rule, be able to wind coils from the left or right only, and control how many turns between switching between left and right feeds.



Here you can see the display of the coil winder I have a few fields on the screen that should allow me to do most of what i want, number of turns per layer. number of layers, wire diameter, and a progressive count of whats going on to the coil form.

After a few firmware updates and mods and a really annoying hardware bug that turned out to be me, (had a wire one pin to the left from where i thought i had put it, so weird things were happening). Once I started winding coils I found it rather addictive (ask me again after i make 60 of these). I sized up the cups and the coil forms and did a test run on a sacrificial lamb i found that i can get ~880-900 turns onto the bobbins before they start to hang outside the edges. As i was winding i added a few drops of super glue to the coil to help hold them together while i worked on them.

here is a video of the one of the coils being wound onto the form, the first videos shows you the entire setup the second video shows the last stages of winding. there was a big section in the middle that was boring so i chopped it out..
To wind one coil it took about 4 or 5 minutes. so winding all 60 will take a while but not all day and night, and best of all i wont even break a sweat or get sore fingers. the coil winder is a little crude at the moment this is just a prototype that i knocked up with scraps i had around the house.


I put heat shrink over the copper wire making sure the conductors were not shorting out to the cups, i placed a bit of kapton tape around the coil itself to protect them from the sharp edges the cups. I then poked the wires through a 3mm hole that i drilled in the bottom of each cup.  when i drilled the holes for the wires i made sure they would come out in between the T slots on the Mill Bed. this will allow me to hold it down by drilling some 4mm holes in the center row to some T nuts.
once i had the wires in place i then mixed up some 2 part epoxy glue, managed to get it everywhere in the process of gluing in each coil, it was a little difficult making sure i pulled the wires nice and tight to make sure they didn't get caught under the coils or at the sides, and not pulling the heat shrink down off the wires, in the end i managed to get the wires and coils all glued in without any problems.

the coils that i ended making have a resistance of about 22ohms each. this kinda works out well. the sacrificial test coil that i made first seemed to cope well with about half an amp of current flowing through it. it did get a little warm after a while (80'c) but that's still well within the specs of the wire. (125'c)

Need to do some testing now. then i will find some epoxy resin that i can pour into/over the coils and cups to provide me with a nice flat surface that i could machine from. but thats only needed if these tests go well.. with each coild taking 6watts each to power up 60 of these could consume some real power. i was reading on the internet the other night that once a coil is energized it only requires 10% of the initiating power to sustain that magnetic filed.. while i am a little skeptical of this claim its worth a test. if i have 13 coils (the astute reader may have noticed already that i knocked a cup off the test bed for other testing..) and I wire them all up in parallel i will end up with 1.6 ohms, If I feed that with 12Volts i should end up with ~ 7 amps. this is quite a bit of power (84watts) if i have to run it at 100% duty cycle. but if i can run that at as little as 10% duty cycle i will only use 8.5 watts.. in theory this will require me to be able to either be able to change the voltage from 12volts to 1.2volts or use PWM. i think PWM is the easiest option a simple 555 timer circuit or a Pic Micro and a Mosfet with a nice big Back EMF clamping diode, should do the job. depending on how many wires i want to use to control the bed i could stagger fire the coils to reduce the load on the PSU. i have many 12v 6Amp PSU's and if i was to stagger fire the coils in groups of four and the 10% Duty Cycle claim turns out to be true i will have no problems at all..



Wednesday, 26 December 2012

Milling the first Cup

You may have seen the gcode i posted, it was looking great until i realized that the mill wasn't yetup to the job, the Z axis has about 2.5mm of backlash!!! that's just NASTY if your code makes this axis go up and down... really need to stop playing and attach a gas strut piston to hole up the head. get rid of the backlash, not too sure how that all works will have to find that web page that suggested it as a solution and double check what i am thinking.

So while i was setting up to cut the first of 24 coil cups for the magnetic bed i ran into a small electromechanical issue, the handle on the Z axis caught a wire which cause the loom to get pulled which in turn caught and pinched the Z stepper wires and proceeded to release the magic smoke that killed the axis' stepper driver. Not happy jan...

After i sorted that problem out i proceeded to attempt the first cut thats when i found the Z backlash to be bad, so i changed the code so it only drives the Z axis in the downward direction, making the backlash not a problem for now..

 I Loaded up the chuck with a 7mm 4 flute end mill cutter slapped a chunk of 25mm hex bar into the jaws of the dividing head and set the Z axis to be 16mm in SW and HW and hit play.. the results are below.

the gcode that's running in the above video is plunge 0.25 then spin then spin back then  repeat. today i have some new code that i wrote that will plunge as its rotating and not need to spin back to reset the axis.

I discovered that i really really need to mount the DRO scales permanently they have about 0.5mm of backlash in them.. i will replace the temporary double sided tape for screws.

in the video you cant quite see it but we jury-rigged an air blower up to clear the swarf from the job and spread it far and wide across the workshop..

we smashed a 7mm end cutter into a ball of brokenness when i was playing with some settings and spun the job in the chuck at a speed FAR FAR too fast the slider was reset between reboots and i forgot the defaults are still dangerous!... oh well another $5 on ebay.. i have more cutters to replace i have lunched a few while learning the limits of the mill, these cutters are dirt cheap so i dont mind..

I was meant to make the drive bolt for my printer as the first project but unfortunately i dont have the brass rod thats the right size for the job :( so i am keeping my self busy while i wait for the steel store to open :)