Welcome, Guest. Please login or register.
Did you miss your activation email?
August 21, 2008, 01:25:08 PM

Login with username, password and session length
Search:     Advanced search
* Home Home Help Search Gallery Calendar Links Login Register
+  Mach2/3/4 Forum
|-+  Third party software and hardware support forums.
| |-+  dspMC/IP motion controller (Moderator: vitalsystem)
| | |-+  Welcome to the dspMC/IP board
0 Members and 4 Guests are viewing this topic. « previous next »
Pages: « 1 2 3 4 5 6 Go Down Print
Author Topic: Welcome to the dspMC/IP board  (Read 4597 times)
vitalsystem
Regular Member

Offline Offline

Posts: 16


Blog entries (0)

View Profile
Re: Welcome to the dspMC/IP board
« Reply #50 on: August 09, 2008, 01:27:48 PM »

No

Mach3 pp driver is not used at all.
Logged
usfwalden
Regular Member

Online Online

Posts: 79


Blog entries (0)

View Profile
Re: Welcome to the dspMC/IP board
« Reply #51 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.
Logged
eds
Regular Member

Online Online

Posts: 1


Blog entries (0)

View Profile
Re: Welcome to the dspMC/IP board
« Reply #52 on: August 20, 2008, 07:07:18 AM »

hello
I'm retrofitting a large cnc mill in china after shipping the machine the controller would not run properly so we thought we would try mach3/dspmc. the first problem was to switch from source to sink . Do you have sink source selectable option for future projects?
I might be missing something but I was looking for a page that would configure or map the analogue inputs and outputs the for use on the mach3 also the manual does not go into much detail on this topic .
thanks
Logged
Pages: « 1 2 3 4 5 6 Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Mach2/3/4 Forum | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!


Google visited last this page August 20, 2008, 09:26:26 PM