Analog Servo runs at maximum speed at start
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
20 Oct 2020 14:20 #186685
by aleksamc
Analog Servo runs at maximum speed at start was created by aleksamc
I try to configure analog servomotor with 7i77 board.
At initial, when I start, output increases up to 10V and servomotor runs at maximum speed.
I set P=0.5 and every other parameters (FF1, I, D) equal to 0.
And also How to use pins EN+ and EN-. It's enable output? EN- it's GND and EN+ is 24V?
At initial, when I start, output increases up to 10V and servomotor runs at maximum speed.
I set P=0.5 and every other parameters (FF1, I, D) equal to 0.
And also How to use pins EN+ and EN-. It's enable output? EN- it's GND and EN+ is 24V?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4860
20 Oct 2020 14:23 #186687
by andypugh
Replied by andypugh on topic Analog Servo runs at maximum speed at start
It sounds like the encoder and motor might disagree about which direction is +.
Try making the encoder scale negative.
Try making the encoder scale negative.
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
20 Oct 2020 14:42 #186692
by aleksamc
Replied by aleksamc on topic Analog Servo runs at maximum speed at start
No, problem was in param. P. I changed it to 0.1 and I found that really I didn't change that parameter, it was default. Now it's OK.
But what pin EN+ and EN- (near analog autput) are meanning?
But what pin EN+ and EN- (near analog autput) are meanning?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
20 Oct 2020 14:46 #186694
by PCW
The ENA+ and ENA- pins act as a switch that can be used to drive the enable input on the drive
If the drive has an active high enable you wire like this:
+Power --> ENA+
ENA- --> Drive_Enable_Input
In this case +Power is applied to the drives enable input when LinuxCNC
enables the analog outputs
If the drive has an active low enable you wire like this:
Drive_Enable_Input--> ENA+
ENA- --> COMMON/Ground
In this case the drives enable input is grounded when LinuxCNC enables the analog outputs
Replied by PCW on topic Analog Servo runs at maximum speed at start
And also How to use pins EN+ and EN-. It's enable output? EN- it's GND and EN+ is 24V?
The ENA+ and ENA- pins act as a switch that can be used to drive the enable input on the drive
If the drive has an active high enable you wire like this:
+Power --> ENA+
ENA- --> Drive_Enable_Input
In this case +Power is applied to the drives enable input when LinuxCNC
enables the analog outputs
If the drive has an active low enable you wire like this:
Drive_Enable_Input--> ENA+
ENA- --> COMMON/Ground
In this case the drives enable input is grounded when LinuxCNC enables the analog outputs
The following user(s) said Thank You: aleksamc
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
20 Oct 2020 16:00 #186703
by aleksamc
Replied by aleksamc on topic Analog Servo runs at maximum speed at start
PCW and Andypugh, you are always help me and gives almost all answers.
I currently configure axis for moving. Now it's move but I have a lot of question for this. I supposed realy that it's more easier task to configure it.
1) Osciloscope has scale, for example "ferror" and scale it 5/div. Does it's mean 5mm/did? What units are used? If signal is position than mm/inch?
2)Servomotor has big overregulation. On Start it makes jump fwd than moves with low speed (and it seems that speed is not regulated) than when it should stop, it makes jump back.
I have P=0.1, FF1=0.2. All other parameters are 0.
I read the article for tunning servos of tommylight but it seems that it's not so easy as written:))
I currently configure axis for moving. Now it's move but I have a lot of question for this. I supposed realy that it's more easier task to configure it.
1) Osciloscope has scale, for example "ferror" and scale it 5/div. Does it's mean 5mm/did? What units are used? If signal is position than mm/inch?
2)Servomotor has big overregulation. On Start it makes jump fwd than moves with low speed (and it seems that speed is not regulated) than when it should stop, it makes jump back.
I have P=0.1, FF1=0.2. All other parameters are 0.
I read the article for tunning servos of tommylight but it seems that it's not so easy as written:))
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
20 Oct 2020 16:14 #186706
by PCW
Replied by PCW on topic Analog Servo runs at maximum speed at start
Ferror is scaled in machine units
Can you post you hal/ini files?
Can you post you hal/ini files?
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
20 Oct 2020 16:38 - 20 Oct 2020 17:04 #186709
by aleksamc
Replied by aleksamc on topic Analog Servo runs at maximum speed at start
Here they are.
If I have setting 50m/div and ferror takes 4 scales (4*50m) How much is it?
4*50*10^(-3)(mm) =0.200mm?
I forgote to write that after some experiments I andersood that param. FF1 gives me troubles. So without it I have error for 200 m/div.
If I have setting 50m/div and ferror takes 4 scales (4*50m) How much is it?
4*50*10^(-3)(mm) =0.200mm?
I forgote to write that after some experiments I andersood that param. FF1 gives me troubles. So without it I have error for 200 m/div.
Attachments:
Last edit: 20 Oct 2020 17:04 by aleksamc.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
20 Oct 2020 19:07 #186728
by PCW
Replied by PCW on topic Analog Servo runs at maximum speed at start
If you have velocity mode servos, FF1 is the most critical tuning parameter
The value for FF1 should be 10/velocity_at_10V so probably about .1 with your current setup
(assuming the velocity is 100mm/sec at 10V)
Halscope plots of ferror and velocity would be helpful to diagnose
what needs to be tuned.
The value for FF1 should be 10/velocity_at_10V so probably about .1 with your current setup
(assuming the velocity is 100mm/sec at 10V)
Halscope plots of ferror and velocity would be helpful to diagnose
what needs to be tuned.
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
20 Oct 2020 19:14 #186730
by aleksamc
Replied by aleksamc on topic Analog Servo runs at maximum speed at start
I have almost direct connection of servo without gear box. And it maximum speed is
50 rev/sec*100mm/rev=5m/sec ))) it's flashing move.
So, my FF1 should be 10/5000=0.002. I will try this tommorow.
50 rev/sec*100mm/rev=5m/sec ))) it's flashing move.
So, my FF1 should be 10/5000=0.002. I will try this tommorow.
Please Log in or Create an account to join the conversation.
- aleksamc
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 567
- Thank you received: 65
22 Oct 2020 10:00 - 22 Oct 2020 10:01 #186887
by aleksamc
Replied by aleksamc on topic Analog Servo runs at maximum speed at start
I made some configurations and it seems that one axis work fine.
Does it's OK for axis with 1000 resolution encoder and analog intput to have ferror 0.8mm when moving 6000mm/min?
When I move 200mm/min I have error 0.3mm.
Does it's possible to reduce ferror to zero or some stable value that will not depend of speed?
Does it's OK for axis with 1000 resolution encoder and analog intput to have ferror 0.8mm when moving 6000mm/min?
When I move 200mm/min I have error 0.3mm.
Does it's possible to reduce ferror to zero or some stable value that will not depend of speed?
Last edit: 22 Oct 2020 10:01 by aleksamc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds