Force control? #4
-
Question here: any possibility to use DPM for force control? Will the communication frequency and delay suitable to run an impedance or admittance controller? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I believe that's actually one of the use-cases of DPM -- although Fanuc won't call it "force control" or even "admittance control", as they have other products for that. Net performance will probably be mostly limited by two things (ignoring anything in the controller and DPM itself, as we can't change that):
Using Karel and TCP/IP is not going to help either of these. The Karel VM runs at Another contributing factor to jitter would be the fact there is no real way to be notified when new offsets have been read from the system variables by the motion controller process. The (primitive) demo in this repository does it by looking at: fanuc_dpm_mouse_demo/fdpm_mdemo.kl Lines 325 to 341 in e3dc606 which is basically polling, which is not the most efficient + is sensitive to scheduling of the task. I could go on, but to summarise: if I were going to do this, I'd probably use either a fieldbus (using group io) or direct analog connections (as in: physical ones), then configure DPM to get its input from either of these. The external device would then update registers (through the fieldbus) or supply voltages which would correspond to the desired offsets. While it won't make the controller magically run at a higher control frequency, it will most likely lead to lower jitter and more predicable performance. Whether 125 Hz is going to be sufficient in terms of bandwidth I can't say, as it would also depend on your application. Fanuc will most likely suggest to 'simply' use their F/T control options, but from your question I get the impression you're looking to do something other than simple force-controlled contouring (or deburring, or ..). Afaik there's no way to influence force control schedules in an on-line/real-time way, so I don't believe using the OEM provided options would work. But again: this depends on your application. |
Beta Was this translation helpful? Give feedback.
-
Oh and you probably already have a Fanuc, and that's why you're asking this, but if you have the option to use a different brand, you may want to look at either KUKA or ABB. They both have low-latency, real-time, high bandwidth external motion interfaces which may be easier to use. |
Beta Was this translation helpful? Give feedback.
-
Just an FYI for future readers: the OP has deleted all his comments except the first one. This is why it looks like I'm only replying / talking to myself in this thread. |
Beta Was this translation helpful? Give feedback.
I believe that's actually one of the use-cases of DPM -- although Fanuc won't call it "force control" or even "admittance control", as they have other products for that.
Net performance will probably be mostly limited by two things (ignoring anything in the controller and DPM itself, as we can't change that):
Using Karel and TCP/IP is not going to help either of these. The Karel VM runs at
ITP
period, which on recent controllers is 125 Hz (or 250 Hz with a special option). This limits how low you can get the latency. Using UDP probably helps, but is only supported on newer controllers / system software versions.Another contributing factor to jitter would be the fact ther…