Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
- lamandesigns
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 3
05 Feb 2018 01:48 #105429
by lamandesigns
Replied by lamandesigns on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
Please Log in or Create an account to join the conversation.
05 Feb 2018 15:18 - 05 Feb 2018 15:18 #105438
by PCW
Replied by PCW on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
OK, those numbers indicate that your drives are not running in velocity mode but rather torque mode...
Last edit: 05 Feb 2018 15:18 by PCW.
Please Log in or Create an account to join the conversation.
- lamandesigns
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 3
05 Feb 2018 16:42 #105442
by lamandesigns
Replied by lamandesigns on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
Well I only have the option of velocity mode and current mode for the analog and it is set to velocity mode. So unless their definition of velocity mode is different that what we expect, I don't get why the P term needs to be so high.
Please Log in or Create an account to join the conversation.
05 Feb 2018 16:56 #105443
by PCW
Replied by PCW on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
Its high because you are in torque (current) mode regardless of what the drive documentation says
Whether the drive is in velocity mode is easily determined: enable the drive with all PID/FF parameters=0
in this state the drive should hold position (and perhaps drift slowly) but definitely resist external force
A torque mode drive with the same settings will turn freely
Whether the drive is in velocity mode is easily determined: enable the drive with all PID/FF parameters=0
in this state the drive should hold position (and perhaps drift slowly) but definitely resist external force
A torque mode drive with the same settings will turn freely
Please Log in or Create an account to join the conversation.
- lamandesigns
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 3
05 Feb 2018 17:00 #105444
by lamandesigns
Replied by lamandesigns on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
It does hold position with everything zero, X just drift very slow. A very heavy Z-axis holds position as well. Unless I am doing something wrong with the tuning?
Please Log in or Create an account to join the conversation.
05 Feb 2018 17:13 #105445
by PCW
Replied by PCW on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
if it holds position with every P term = 0 then it is in velocity mode in which case the
primary tuning parameter is FF1.
You should be able to make the position lead the motion profile or lag the motion profile depending on
the FF1 setting even with a very small amount of P. (and you tune FF1 for best following )
If you cannot do this something is broken in the way things are connected either externally or in hal
primary tuning parameter is FF1.
You should be able to make the position lead the motion profile or lag the motion profile depending on
the FF1 setting even with a very small amount of P. (and you tune FF1 for best following )
If you cannot do this something is broken in the way things are connected either externally or in hal
The following user(s) said Thank You: lamandesigns
Please Log in or Create an account to join the conversation.
- lamandesigns
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 3
05 Feb 2018 18:07 - 05 Feb 2018 18:07 #105451
by lamandesigns
Replied by lamandesigns on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
So with a low P the f.error is not anywhere close to zero even without movement. I can only get the f.error to be zero with high P, anything above 2000!
It seems like I have got the FF1 and FF2 to do what I expect them to do. FF1 will get the f.error back to zero as soon as it starts moving and FF2 seems to deal with initial and final overshoot. However it is not having much effect on the initial overshoot.
Please see attached the screenshot:
Axis 0 Scope
It seems like I have got the FF1 and FF2 to do what I expect them to do. FF1 will get the f.error back to zero as soon as it starts moving and FF2 seems to deal with initial and final overshoot. However it is not having much effect on the initial overshoot.
Please see attached the screenshot:
Axis 0 Scope
Last edit: 05 Feb 2018 18:07 by lamandesigns.
Please Log in or Create an account to join the conversation.
05 Feb 2018 18:19 #105452
by PCW
Replied by PCW on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
Ok a high P value is not unexpected since you have changed the output scale to 2000 ( if left at its default value of 10 a P value of 10 would result in the same response as p=2000 and output scale=2000 )
The huge error at the beginning suggests that you have some kind of filtering enabled in the drive ( or really major stiction or perhaps poor velocity loop tuning in the drive )
The huge error at the beginning suggests that you have some kind of filtering enabled in the drive ( or really major stiction or perhaps poor velocity loop tuning in the drive )
The following user(s) said Thank You: lamandesigns
Please Log in or Create an account to join the conversation.
- lamandesigns
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 3
05 Feb 2018 18:23 #105453
by lamandesigns
Replied by lamandesigns on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
Oh ok. I thought the output scale was supposed to be the RPM at 10V, so that's what I have done. Is it fine to leave it there or should I fix the whole thing?
I just fixed the overshoot. It only happened in X and Y since the acceleration was way too high (100). I changed it down to 50 and the overshoot is basically non-existent!
Thank you very much for all your help and quick responses!
I just fixed the overshoot. It only happened in X and Y since the acceleration was way too high (100). I changed it down to 50 and the overshoot is basically non-existent!
Thank you very much for all your help and quick responses!
Please Log in or Create an account to join the conversation.
05 Feb 2018 18:43 #105454
by PCW
Replied by PCW on topic Monarch MDT-24 Retrofit (Sharp SV-2412 w/ Fanuc 0i-MC)
You can leave the scaling or change it back to volts, of course you will have to re-tune ( or re-calculate )
the PID parameters after this change
My preference is to change the scaling to real velocity units, that is, the output scale is set to
machine units per second at 10V
This means FF1=~1 ( that is if the PID output is in machine units per second, FF1 =1 just copies
the commanded velocity to the PID output )
This also makes it easier for me to understand the PID tuning parameters and makes inch and mm machines
use the same PID parameters
the PID parameters after this change
My preference is to change the scaling to real velocity units, that is, the output scale is set to
machine units per second at 10V
This means FF1=~1 ( that is if the PID output is in machine units per second, FF1 =1 just copies
the commanded velocity to the PID output )
This also makes it easier for me to understand the PID tuning parameters and makes inch and mm machines
use the same PID parameters
The following user(s) said Thank You: lamandesigns
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.130 seconds