Servo drive or some kind of problem

More
02 Dec 2024 21:17 #315834 by Ricoch3T
Servo drive or some kind of problem was created by Ricoch3T
Working with a 7i97 board
Cmc drives and dc brushed servo motors
original drives have tac but the encoders are wired directly to the 7i97 board. 

problem I’m having is I’ve only been able to jog forwards. The 7i97 board is sending either plus or minus 10v like it should be but for some reason I only get one direction. 

I’ve switched the signal wires around to see if it would make a difference and the motor still only jogs forward. 


I’ve switched back to the stock 7i97 hal and ini file. Only changes I’ve made to it are 
ip address 
Commented out the z axis since I don’t have one yet. 
frequency I’ve changed to 5000 to match what the manual said. 


Been working on it for a month or so with the same results. Digging through the original machine book only thing I can find that catches my eye is there’s something about uniswitching (not sure what that is) when the machine is using high speed. And h bridge when at low speed for torque. 

I don’t know if that matters or not. I’m lost. 

Please Log in or Create an account to join the conversation.

More
02 Dec 2024 22:37 - 02 Dec 2024 22:56 #315836 by Benb
Replied by Benb on topic Servo drive or some kind of problem
Tuning?
wiki.linuxcnc.org/cgi-bin/wiki.pl?Tuning_LinuxCNC/HAL_PID_Loops

forum.linuxcnc.org/10-advanced-configura...to-example-mesa-7i77

gnipsel.com/linuxcnc/index.html

Manufacturer name and model numbers for the servo drives, servo motors and encoders, also upload your current ini and hal files. 
Last edit: 02 Dec 2024 22:56 by Benb.

Please Log in or Create an account to join the conversation.

More
03 Dec 2024 17:11 #315908 by PCW
Replied by PCW on topic Servo drive or some kind of problem
First verify that the drives work properly by supplying a known voltage to the inputs
(a 1.5V battery will work for this test) and make sure that the drives run in equal and opposite
speeds when the input polarity is reversed

It's best to disconnect the motors from the linear axis when doing open loop tests like this.

Please Log in or Create an account to join the conversation.

More
03 Dec 2024 17:57 #315909 by Ricoch3T
Replied by Ricoch3T on topic Servo drive or some kind of problem
So... the tuning guide I keep finding when doing searches, but always stop when I can't jog properly forward and backwards. Forward is sometimes shaky, but last few times trying forward it usually moves and stops roughly when I do. 
Drives : Cleveland Machine Controls D41-17443C
Servo Motor : CMC MT2630-141AF 
Encoders : Dynapar 62525000330

I'll have to get back to you on the current ini and hal files when I get a chance later this week. I'm using the basic 7i97 file I found on here and edited very little. 

I've been off and on working on this when I get the chance, everything is apart and on my table right now so no worries of something running away and damaging anything. Before this machine was taken apart for moving, I powered everything up with the original controls and verified everything moved fine and worked. The only thing ive done is rewired the box to the 7i97 and then reused some of the wiring to hook back to the motors/encoders. 

The 1.5v test (I used a 9v bc its what i had) didn't do anything. Not sure if its a frequency thing or not. If I leave the stock 48000hz frequency in the hal file I get nothing as well. 
I've noticed when I tell linuxcnc to jog the motors the 7i97 sends anywhere between 0 to 10v to the motor and slowly back it down to 0 as it gets closer to where it expects the motor to be. Again jogging backwards I see the 7i97 send between -0 to 10v but I either get no movement or movement in the positive direction again. 




 

Please Log in or Create an account to join the conversation.

More
03 Dec 2024 18:13 - 03 Dec 2024 18:28 #315910 by PCW
Replied by PCW on topic Servo drive or some kind of problem
The battery test requires you to:

1. Enable the drives ( how this is done depends on the drives )
2. Disconnect the drives from the 7I97

The is no frequency/LinuxCNC/7I97 involved
Last edit: 03 Dec 2024 18:28 by PCW.

Please Log in or Create an account to join the conversation.

More
03 Dec 2024 20:38 #315916 by Ricoch3T
Replied by Ricoch3T on topic Servo drive or some kind of problem
When you say drives are you meaning the drive boards.. or the servos themselves?
"DIFF/ INPUT Designates differential input speed command terminals."
Thats what the book is calling those terminals if you are meaning on the driver board or cards themselves.

While I was seeing the exact terminology I figured I'd post why I commented on the frequency thing... this is the books description of how the drives work... 
PWM indicates pulse-width modulation which is the operating mode of each transistor in the
controller. In a PWM controller, a power transistor bridge switches a fixed DC bus supply to
the motor load at a constant frequency with varying on-off ratio for output power control. The
SERVOPAK differs from other controllers of its type in that two types of switching techniques
(standard-H and Uni-Switching) are employed.


Anyway, thats a long explanation to say yes I'll find some time tomorrow to see what happens when I do that. The drives are enabled with a ground, and I'm sure they are enabled since it told me how to bypass the enables in the book, and the motors make noise when I enable them. 

These drives also have a lot of adjustments on them, so I assume they are a little different than just a straightforward drive. It appears as though the drives themselves did the tuning more so than the computer did. 

Please Log in or Create an account to join the conversation.

More
04 Dec 2024 16:44 #315966 by Ricoch3T
Replied by Ricoch3T on topic Servo drive or some kind of problem
Powered up the power supply.
Enabled the motors and put 9v to the speed input on the drive card. Nothing. Found a 1.5v battery and tried that as well. Forward or backwards nothing happened.
Both drive and no motor movement either way.

Hooked 9v straight to servo motor with everything powered off and it runs forward and backwards like it should.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
04 Dec 2024 17:24 #315969 by tommylight
Replied by tommylight on topic Servo drive or some kind of problem

1. Enable the drives ( how this is done depends on the drives )

Nothing will move without first doing that.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
04 Dec 2024 17:31 #315972 by tommylight
Replied by tommylight on topic Servo drive or some kind of problem
Use a 1.5V battery, not 9V as that will have the motors run at full speed, and since there is not control to stop them, they will break something before you are able to remove the battery.

Please Log in or Create an account to join the conversation.

More
04 Dec 2024 23:50 - 04 Dec 2024 23:54 #315987 by Benb
Replied by Benb on topic Servo drive or some kind of problem
I could not find online your servo drive manual. But found CMC manual for brushed DC motor with tachometer input.

ttps://www.artisantg.com/info/Cleveland_Motion_Controls_SDB_Series_Manual.pdf?srsltid=AfmBOorzCltvtjGyzWiOyaa6-XFNoLaBcmwPmFUnsA8L5EootgrmcSKG I am assuming this manual is similar to yours. If it is than you need to set the four digital inputs  SBY, OSW, SW1 AND SW2,  for the motor to spin in both direction  the inputs must be set to satisfy the operational conditions of the drive (digital inputs require 24vdc power)
Last edit: 04 Dec 2024 23:54 by Benb.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum