- Posts: 1943
- Thank you received: 0
AASD chinese ac servo's step/dir Oscilations
When I move them with keyboard jogging they oscillate like crazy as shown in video.
When I jog them with drive control panel they don't. and they move great.
I know it seems like they need tuning but I think it may be linuxcnc and how it is setup.
I am using step+- and dir +- and tried 0,1,2 step type to no avail.
HAL File
INI file
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
....maxerror.. =0.01
lines and see if that helps.
Please Log in to join the conversation.
You can check this by monitoring the following error
Note step-type should be 0 for step/dir drives
1 is CW/CCW, 2 is Quadrature
Please Log in to join the conversation.
tommylight wrote: Omit the
....maxerror.. =0.01
lines and see if that helps.
Yeah, did that in the hal and it does the same thing.
Please Log in to join the conversation.
PCW wrote: Looks like a drive issue (oscillations > max_ferror)
You can check this by monitoring the following error
Note step-type should be 0 for step/dir drives
1 is CW/CCW, 2 is Quadrature
I changed them back to step type 0. no change
I have worked on this for half the week and all weekend and cannot get these drives to be stable. I actually havent been able to change the way they act at all. These drives are fubar or I am not changing what needs to be change3d.
Here is the manual: AASD manuals
Use the AASD one. better translation.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Any alarms going off ?
Looks like Pn002 has to be set to 2
Pn096 on page 61 has to be set to 0 for step/dir but on the wiring page it says it has to be 1 for step/dir ????
Please Log in to join the conversation.
tommylight wrote: Wiring according to page 20?
Any alarms going off ?
Looks like Pn002 has to be set to 2
Pn096 on page 61 has to be set to 0 for step/dir but on the wiring page it says it has to be 1 for step/dir ????
Pn002 is set to 2
I am using differential input mode. step +/Step- dir+/dir-
No alarms.....
I tried all three.... on Pn096
It says with differential max 500khz. Where is this changed?
I cant find any parameters that change the internal pid. I change the gain I think is P but doesn't do anything.
Please Log in to join the conversation.
You can do this by seeing if the following error shows the oscillations
If it does, this is a LinuxCNC setup issue, if not, its a drive tuning issue
Please Log in to join the conversation.
PCW wrote: Did you determine that its an internal vs external (LinuxCNC setup) issue?
You can do this by seeing if the following error shows the oscillations
If it does, this is a LinuxCNC setup issue, if not, its a drive tuning issue
I thought I had it nailed down to being linuxcnc setup because in jogging mode on the drive when I jog, it acts perfectly.
I will check hal scope for following error.
Please Log in to join the conversation.
