- Posts: 11
- Thank you received: 0
Mill Retrofit with Fanuc DC Drives
- tbrasselle
- Topic Author
- Offline
- New Member
-
Less
More
5 months 2 weeks ago #346449
by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
I just tried increasing D and it seemed to increase the amplitude of the oscillation as I increased the value.
I also wanted to verify the encoder is working correctly even though it appears to be working correctly in halscope. I hooked it up to an oscilloscope and got a chart I wasn't expecting. Channel A seems to be stopping at 0V on both the rising and following edge. channel B seems correct and bounced between +5V and -5V.
Would this cause any issues with counting on the mesa card?
I also wanted to verify the encoder is working correctly even though it appears to be working correctly in halscope. I hooked it up to an oscilloscope and got a chart I wasn't expecting. Channel A seems to be stopping at 0V on both the rising and following edge. channel B seems correct and bounced between +5V and -5V.
Would this cause any issues with counting on the mesa card?
Please Log in to join the conversation.
5 months 1 week ago #346463
by PCW
Replied by PCW on topic Mill Retrofit with Fanuc DC Drives
Are you measuring the encoder signals against ground?
(you cannot measure differential signals on an oscilloscope without a differential probe)
(you cannot measure differential signals on an oscilloscope without a differential probe)
Please Log in to join the conversation.
- tbrasselle
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
5 months 1 week ago #346468
by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
I was measuring it against the compliment. I had the probe on channel A and the ground on the probe clamped to the inverse channel A. Same thing for channel B.
Viewing channel a and channel b in HALSCOPE everything looks normal. So I’d assume this isn’t actually the issue either.
Viewing channel a and channel b in HALSCOPE everything looks normal. So I’d assume this isn’t actually the issue either.
Please Log in to join the conversation.
5 months 1 week ago #346469
by PCW
Replied by PCW on topic Mill Retrofit with Fanuc DC Drives
You cannot do this without two differential probes.
Measure the A,B signals relative to ground.
But as you said I don't think this is the issue as long as the position
readout is correct.
Measure the A,B signals relative to ground.
But as you said I don't think this is the issue as long as the position
readout is correct.
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
5 months 1 week ago #346470
by tommylight
Replied by tommylight on topic Mill Retrofit with Fanuc DC Drives
Measure between gnd and each channel.
Please Log in to join the conversation.
5 months 1 week ago #346479
by PCW
Replied by PCW on topic Mill Retrofit with Fanuc DC Drives
Are the motors connected to the linear axis?
This will affect the loop stability
Can you change the velocity loop gain on the drives?
This will affect the loop stability
Can you change the velocity loop gain on the drives?
Please Log in to join the conversation.
- tbrasselle
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
5 months 1 week ago #346488
by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
I did have the motor disconnected from the ballscrew initially. I've now connected it back and the problem has not gone away. I've attached a halscope screenshot showing the current status. when i enable the drive it oscillates, starts to smooth out, then runs away.
I can adjust the velocity loop gain on the drive but i have been hesitant to do that. the drive and motor were working as is with the Fanuc controller before I disconnected them.
Attachment not found
I can adjust the velocity loop gain on the drive but i have been hesitant to do that. the drive and motor were working as is with the Fanuc controller before I disconnected them.
Please Log in to join the conversation.
5 months 1 week ago #346491
by PCW
Replied by PCW on topic Mill Retrofit with Fanuc DC Drives
The runaway suggests that possibly one of the feedback loops is reversed.
Please Log in to join the conversation.
- tbrasselle
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
5 months 1 week ago #346504
by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
The runaway only happens when I add a small amount of gain to P.
I've backed up a little to triple check that I have both outputs scaled and the correct directions. The original Fanuc manuals show the test points and expected scales of the input signals for the drives.
The machine moves 0.2362 inches per revolution and the encoders have 2000 pulses/rev. I used that to calculate an encoder scale which does need to be negative to make the DRO move the correct direction. I then calculated the ratios to get the inches per second of movement that should equate to 10V for both the velocity command and tachometer.
Next I wanted to measure the actual values at the drive. I have the oscilloscope hooked up to the virtual tach signal(output3) and the velocity command signal(output0). I set the PID values back to zero for this test. These images are of the halscope and oscilloscope with a positive value in the tachometer output scale. The pink trace is the tachometer signal(output3) and the yellow trace is the velocity signal(output0).
These images are with a negative tachometer output.
With the PID values set to zero, shouldn't analogout0 be zero? it seems to follow analogout3. I've double checked that I dont have a short between the two.
I've backed up a little to triple check that I have both outputs scaled and the correct directions. The original Fanuc manuals show the test points and expected scales of the input signals for the drives.
Attachment not found
The machine moves 0.2362 inches per revolution and the encoders have 2000 pulses/rev. I used that to calculate an encoder scale which does need to be negative to make the DRO move the correct direction. I then calculated the ratios to get the inches per second of movement that should equate to 10V for both the velocity command and tachometer.
Attachment not found
Next I wanted to measure the actual values at the drive. I have the oscilloscope hooked up to the virtual tach signal(output3) and the velocity command signal(output0). I set the PID values back to zero for this test. These images are of the halscope and oscilloscope with a positive value in the tachometer output scale. The pink trace is the tachometer signal(output3) and the yellow trace is the velocity signal(output0).
Attachment not found
Attachment not found
These images are with a negative tachometer output.
Attachment not found
Attachment not found
With the PID values set to zero, shouldn't analogout0 be zero? it seems to follow analogout3. I've double checked that I dont have a short between the two.
Please Log in to join the conversation.
5 months 1 week ago #346505
by PCW
Replied by PCW on topic Mill Retrofit with Fanuc DC Drives
Is it possible that there is a grounding issue?
Did the original system use a tachometer?
If so , it would be floating which may be a requirement of the drives input circuit
Did the original system use a tachometer?
If so , it would be floating which may be a requirement of the drives input circuit
Please Log in to join the conversation.
Time to create page: 0.299 seconds
