- Posts: 83
- Thank you received: 0
Forum Header
Help please !!! Servo configuration with stepconf.
- ishman
- Offline
- Premium Member
-
Less
More
14 years 5 months ago - 14 years 5 months ago #19736
by ishman
Replied by ishman on topic Re:Help please !!! Servo configuration with stepconf.
John ! I really appreciate your help.
Regarding the parameter setting in 4.8.3, I had a look at it but didn't realize it's importance. Is it really important ? Then I will go through this chapter.
Actually I pushed my whole energy at power source combination. Because I cant jog the motor alone with driver without linking it to breakout board to make servo enabled. The breakout board get power from PC usb which I think supply 5v or 3.3v while driver needs 12v-24v.
Regarding the parameter setting in 4.8.3, I had a look at it but didn't realize it's importance. Is it really important ? Then I will go through this chapter.
Actually I pushed my whole energy at power source combination. Because I cant jog the motor alone with driver without linking it to breakout board to make servo enabled. The breakout board get power from PC usb which I think supply 5v or 3.3v while driver needs 12v-24v.
Last edit: 14 years 5 months ago by ishman.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
-
Less
More
- Posts: 3981
- Thank you received: 994
14 years 5 months ago - 14 years 5 months ago #19737
by BigJohnT
Replied by BigJohnT on topic Re:Help please !!! Servo configuration with stepconf.
ishman wrote:
That and the control mode type are essential settings and I'm amazed that the motor moved at all without setting those two things correctly. My suggestion is to read the manual from start to end and make sure you have all things set as outlined in the manual.
John
Regarding the parameter setting in 4.8.3, I had a look at it but didn't realize it's importance. Is it really important ? Then I will go through this chapter.
That and the control mode type are essential settings and I'm amazed that the motor moved at all without setting those two things correctly. My suggestion is to read the manual from start to end and make sure you have all things set as outlined in the manual.
John
Last edit: 14 years 5 months ago by BigJohnT.
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
Less
More
- Posts: 83
- Thank you received: 0
14 years 5 months ago #19738
by ishman
Replied by ishman on topic Re:Help please !!! Servo configuration with stepconf.
I set the mode type properly at every type of run like jog and position step/dir mode but really missed this one.
That means if motor moves little bit with jog command and from pc step/dir command then there is nothing to worry about power source ? I have concern about it because at page 35 in position control schematic there is mentioned 12-24v power supply to vcccom pin.
That means if motor moves little bit with jog command and from pc step/dir command then there is nothing to worry about power source ? I have concern about it because at page 35 in position control schematic there is mentioned 12-24v power supply to vcccom pin.
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
Less
More
- Posts: 83
- Thank you received: 0
14 years 5 months ago #19763
by ishman
Replied by ishman on topic Re:Help please !!! Servo configuration with stepconf.
I have solved the issue and now motor is running smooth. Some enhancement still left in my machine to tune it with load. But before my Mesa cards arrives, I will try to hook it with my basic breakout board and with step/dir commands configured with stepconf wizard.
The cause of my problem was that I gave servo enable power through my breakout board which was showing that it's enabling the servo while it wasn't supplying enough power. Today I removed servo enable wire from breakout board and supplied the power from external 12v source to servo enable driver input port and it started spinning the motor smoothly. Now it's time to tune as you all suggested.
I tried to move an empty motor with stepconf jog and it runs smooth from there as well. But it lacks speed. I can't manage to increase the speed with stepconf but I am sure that I can manage to do it with drive's internal settings. But is it recommended to do this with open loop configuration ?
The cause of my problem was that I gave servo enable power through my breakout board which was showing that it's enabling the servo while it wasn't supplying enough power. Today I removed servo enable wire from breakout board and supplied the power from external 12v source to servo enable driver input port and it started spinning the motor smoothly. Now it's time to tune as you all suggested.
I tried to move an empty motor with stepconf jog and it runs smooth from there as well. But it lacks speed. I can't manage to increase the speed with stepconf but I am sure that I can manage to do it with drive's internal settings. But is it recommended to do this with open loop configuration ?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
14 years 5 months ago #19764
by andypugh
Replied by andypugh on topic Re:Help please !!! Servo configuration with stepconf.
ishman wrote:
The maximum speed will probably depend on the encoder counts and the base thread rate.
If you have a 1024 count encoder then that is 4098 pulses per rev (probably). If you have a 40,000nS base thread (on the slow side, what number do you actually have?) then you can pulse at 25kHz, which gives you 25,000 / 4098 = 6rps = 366rpm.
A faster base-thread will help, but you probably can't go much below 20,000 (what was your latency test result?) and I think I saw that you can change the "electronic gearing" of the drive so that one input pulse = more than one encoder count.
I tried to move an empty motor with stepconf jog and it runs smooth from there as well. But it lacks speed.
The maximum speed will probably depend on the encoder counts and the base thread rate.
If you have a 1024 count encoder then that is 4098 pulses per rev (probably). If you have a 40,000nS base thread (on the slow side, what number do you actually have?) then you can pulse at 25kHz, which gives you 25,000 / 4098 = 6rps = 366rpm.
A faster base-thread will help, but you probably can't go much below 20,000 (what was your latency test result?) and I think I saw that you can change the "electronic gearing" of the drive so that one input pulse = more than one encoder count.
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
Less
More
- Posts: 83
- Thank you received: 0
14 years 5 months ago #19765
by ishman
Replied by ishman on topic Re:Help please !!! Servo configuration with stepconf.
with
"gzip -c /dev/urandom > /dev/null"
I am getting
Servo Max jitter = 16350
Base max jitter = 19001
Encoder is 2500 C/T
I am running it with electronic gearing disabled.
"gzip -c /dev/urandom > /dev/null"
I am getting
Servo Max jitter = 16350
Base max jitter = 19001
Encoder is 2500 C/T
I am running it with electronic gearing disabled.
Please Log in or Create an account to join the conversation.
Time to create page: 3.324 seconds