Hello Guest it is April 25, 2024, 06:07:06 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - usfwalden

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »
31
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 26, 2008, 02:09:15 PM »
Thanks,

That's kind of cool but to mount that (at least the way they show it)I would have to pull my spindle belt off to get a ring on the bottom half of my varispeed pulley (the top half moves up and down for the varispeed).  I'm hoping to do something where I can screw a screw into the side of the bottom half of my spindle pulley so I can do it without pulling it apart.  An optical sensor like that would be ok but it would have to count breaks in the beam instead of connections (maybe it counts the same if the beam is connected for 359 degrees?).

Why do you need the board and not just the interupt module?  http://www.cnc4pc.com/Tech_Docs/nte3100.pdf  I'll ask Rufi what the minimul pulse width the dspmc will pick up is.  I'd think I could just use the interupt module wired straight to the dspmc and it should pick up breaks from a set screw passing through it.

I bought this indexer and it work great

http://www.cnc4pc.com/Store/osc/product_info.php?cPath=25&products_id=129

32
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 26, 2008, 11:49:12 AM »
Anybody have any suggestions for adding an index to my spindle?  I'm thinking a little magnet/bump mounted on the side of my spindle pulley and some sort of hall effect sensor/proximity switch to pick up when it passes.  Does anybody make a kit for this?

33
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 26, 2008, 11:04:40 AM »
Thanks,

sounds like I'll have to do some learning to customize mach before giving it spindle control.  My m3, m4, and m5's are discrete momentary inputs.  Actually all my m codes except for quill lock are momentary outputs.  I don't know where m codes are defined yet but maybe i can just de-define them and write a brain that activates the appropriate output for the appropriate time when an m code is called so I can do them all in one place?

34
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 25, 2008, 09:51:51 PM »
where do you set the pin for m5?  I see you can define the pins for m3 and m4 when you enable relay spindle control but it doesn't say anything about m5 for stopping the spindle....

35
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 25, 2008, 12:09:30 PM »
Thanks guys,

I'm in the process of setting up Mach now.  I got my input and output pins mapped out easily enough and have decided I don't like the way mach handles +/- limits.  I'm going to leave them wired up just the way they are except I'm not going to enable the limit switches in mach and I'm going to wire the outputs from the opto 22 modules for them to the +/- enables on the a-m-c amps as well as the input pins on the dspmc.  The amps will only inhibit motion in the direction towards the triggered limit so you can still move away from the limit without having to dissable it.

36
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 24, 2008, 05:04:08 PM »
With my wiring done I didn't want to wait for the next version of axis works to finish my tuning and start making chips so I didn't.  With a little trial and error I settled on quadrupling my gains and throwing in some I.  I dropped the scale down to 1 so all my gains have 2 less zeros than before.  This time I tuned at my full rapid speed of 180 ipm.  I tuned all the way down to doing 2 count moves (0.0001") and never have any instability or significant following error even with ridiculous accelerations for the size moves.

Here's a ten count move at 3000, 30000, and 300000 count accelerations.







Here's a 100 count move at 3000, 30000, and 300000 count accelerations.









Here's a thousand count move at 30000 and I seem to have a 100 count move over the one with 300000 acceleration and axis works doesn't like doing step moves that take too long so that's it for this one




And here's a ten thousand count move at 300,000 count acceleration



I think I'm set now and should be able to push my mill around to my satisfaction.

37
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 24, 2008, 04:32:49 PM »
The control installation is done so here are some pictures.  The advanced motion control amps are installed where the bandit amps used to be and the control and io boards are installed where the bandit card file used to be.  The 4th axis stuff is all there but not plugged in until the 4th axis actually gets here.  I used pieces of one of my old tachometer cables for the +-10v analog control signals to the amps and a piece of one of my old resolver cables for the amp enable signals to the amps.  My US digital encoder cables were barely long enough to make it into the control section of the box since they had been cut to length for the galil amp back when I was going to use the galil stuff.  I also used the original io wires.  They go from the control box to spindle wizard side control box where the m boards used to be.  There I soldered and heat shrinked the wires from the control box to the wires to the relay box.  It's all 100% tinned, extremely well shielded, probably much better than I can buy today even for a small fortune cable.  I could make things much prettier with some ties but that would just be making things less serviceable so I'm not going to.



38
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 24, 2008, 04:30:11 AM »
I installed the one opto 22 g4pb16t board and wired up my io so now I have limits and I'm pretty much ready to run mach.  I left space for a second g4pb16t board in my control box but I don't forsee needing it.  I've got 8 ouput modules in the board for my 8 m codes (wired up and functioning) and I've got the first 8 of the 16 inputs from the 1st db25 io connector on the dspmc wired to it but I'm only using 6 of them so far--for my + and - limits.  I decided not to use the spindle wizard m boards.   There is no reason to output binary codes of m functions to m boards to be deciphered and then amplified and sent to the relays.  Each M function is activated by a single 24v signal that was connected on the terminal strips in the relay panel.  Since I can output 24v from my opto22 modules I pulled the m boards and wired straight through to the terminal strips so now I'm using a discrete ouput pin for each m code.

The amc amps have a "jumper" inside which is actually a soldered in surface mount jumper not a pull it off by hand type of jumper to switch the inhibits into enables (you can order them configured like this to being with).  I removed the jumpers so now the amps are inhibited until they are enabled by the control.  To enable the amps now the inhibit, + inhibit, and - inhibit pins must be grounded.  I wired these straight to the 2nd db25 io connector on the dspmc.  This prevents the servos from lurching when the control is powered down.

39
Show"N"Tell ( Your Machines) / Re: Ex-Cell-O Spindle Wizard to retrofit
« on: August 20, 2008, 01:34:35 PM »
I just bought a 10" troyke 4th axis to add to the mix.

40
dspMC/IP Motion Controller / Re: Welcome to the dspMC/IP board
« on: August 18, 2008, 04:12:24 PM »
So far so good.  It looks like the dspmc will shape up to be all that it promisses.  I think this will be THE servo controller to use with Mach.  I don't have the io hooked up yet but i have the control and break out boards installed and the encoders and amps hooked up so I can make motion.  I have my A-M-C amps tuned in voltage mode so I am running what is called a position over voltage loop--meaning my amps are running a voltage loop and the dspmc is running a position loop over that.  The following is a repost from my showntell thread on my spindle wizard for the benefit of others using the dspmc or considering using it.  I personally think my machine is the "***balls***" mechanically/electrically so it will let the dspmc shine.  My encoders are 1000 line quadrature encoders so 4000 counts per rev and my ballscrews are 5tpi so that's 20,000 counts per inch.  With my motors and power supply I should max at about 190 ipm so I am tuning at 150 ipm to be aggressive but avoid clipping by either the amps or control DACs.

Controller's PID tuning:

At first I tried a bunch of different tuning methods where you adjust one parameter at a time and wasn't  having much luck.  Then I tried a method where you set both p and d at the same time in a ratio determined by the pid loop sample rate.  The DSPMC/IP has a 5kHz sample rate which means the D should be 25 times the P--then if your amps are in current mode you probably have to turn up d but as you will see I didn't have to.  I have my scale set to 100.  This will allow me to have a small integer I--I will probably barely need any I at all.

First iteration I tried
P=100
D=2500




There was no motion on the first try to I multiplied by 10
Second iteration I tried
P=1000
D=25000
.....oops, I forgot to save that screenshot


There was very sluggish motion so I multiplied by 2
3rd iteration I tried
p=2000
d=50000









The motion was much better but still sluggish so I multiplied by 2 again
4th iteration I tried
p=4000
d=100,000






motion was excellent so I tested larger moves






Vital systems is still working on the axisworks software.  That's an alpha I'm working on now.  I asked Rufi/Abdul to add check boxes allow traces to be added for position error, commanded velocity, and commanded acceleration and to remove the commanded position and actual position.  When he has that done it will be easy to Dial in the feed forwards which I want to do before even bothering with throwing an I in the pid loop.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »