Thread: Mill with digital scales
Hybrid View
-
17-08-2008 #1
I do this stuff and will do more when I can mill PCBs instead of having to etch them...right now I am designing stepper drivers and trying to decide which chip to go for... I was thinking L297/L298 is cheap and cheerful for now.
On your algorithm, you need to think about acceleration and deceleration and predictive placement since what you are creating is a closed loop servo system with a lag. Given that your scales read slower than the step speed if you are not to end up with a completely overdamped and sluggish solution you need to be considering the rate of change of scale value ds/dt as well as the actual value s.
I like the idea of a automated 'go to location' but how will this integrate with EMC2 or Mach3 or are you planning to treat the stepper/scale combo as a big servo?
-
17-08-2008 #2
I used the driver half of that with a 555 timer and dual comparator to chop it. Sight snag using their controller, you have to stop on the home position if you want to switch off and come back to it, you can't save the step pattern and location when you exit. It all worked okay until the mains voltage surge popped all three at once. Had to work a tad close to it's voltage limit to get any kind of speed.
I've heard glowing reports of Mach3 but I do like to be in control so I avoid commercial software as much as possible. If you write your own you can add features and fix bugs. My next software will be version 3, so I have some experience to draw on. Has to run under Windows XP and cut from an AutoCad dxf file. I want vast amounts of memory and the thought of 32 bit integers has become almost irresistable. The GUI is good to :D
-
18-08-2008 #3
-
18-08-2008 #4
Love to see it Robin. Was thinking of writing my own DXF->GCode as haven't found one I truely like and what I want is seamless CAD -> mill (or PCB layout -> mill). Although I have lots of free software that does the job its all a bit of a faff and kludge.
Going to stick with L297/L298 at 40v/2A for now as my steppers and 2mm ACME screws don't need any more, but have a 4-axis design on the drawing board using a PIC processor, 2109 hi/lo drivers and discrete MOSFETs for 80v, 5A/coil, 1/8 microstepping capability for the future.
Where do you source your electronic parts from? I use Radiospares, Farnell (rarely, since mostly seems to be US-stock now), Maplins (even less so), and Cricklewood Electronics all online - the days of the great electronics shops have long gone :(
-
18-08-2008 #5
I've done the read a dxf, pick out lines arcs and circles then stitch lines and arcs together into shapes (fudging the ends slightly so they meet up properly). Also the expand/contract it bit to get the tool path.
No G-Code planned, it goes straight to my box of tricks and turns the handles. I have a wicked arc drawing algorythm my brother wrote, any start point, any end point, either direction. I just call it and it gives the next pixcel on the arc. I tried it drawing circles on screen, then had to add a delay between pixcels so you could actually see where it started and which way it was going :D
My preferred small quantity supplier has to be Rapid Electronics.
40 volts is very close to smoke if you're using a transformer, suggest you do something clever in the PSU to protect it.
-
18-08-2008 #6
Sounds interesting... so lets see some pics :)
Thanks, I'll go investigate
Yes I know. Go to do a back-emf dumper and some sort of voltage limiter (not a regulator as such) - looking at some ideas that combine the two. Don't want to use a series regulator cos of the losses involved at 6A+ (if all 3 axis active) but thinking along lines of series/shunt MOSFETS (got a couple of samples rated at 120A, 200V and 0.003ohm Rds, so even at 10A its not going to get warm if turned fully on!)
-
19-08-2008 #7
-
19-08-2008 #8
-
20-08-2008 #9
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
Digital angle gauge
By njhussey in forum Tool & Tooling TechnologyReplies: 4Last Post: 04-12-2012, 08:07 PM -
FOR SALE: DRO + 4 Scales
By Rikk in forum Items For SaleReplies: 0Last Post: 22-10-2011, 09:41 AM -
Digital drivers from Zap
By Simon C in forum Motor Drivers & ControllersReplies: 5Last Post: 31-03-2011, 03:27 PM -
FOR SALE: digital vernier.
By i2i in forum Items For SaleReplies: 8Last Post: 13-08-2010, 11:31 AM -
Reading and fixing Chinese scales
By irving2008 in forum Tool & Tooling TechnologyReplies: 26Last Post: 24-02-2010, 10:35 PM
Bookmarks