- Posts: 22010
- Thank you received: 3
Vertical Machining Centre Retrofit with Chinese Servo Drives Build Thread (NZ)
- tommylight
-
- Away
- Administrator
-
Yes.Becksvill wrote:
does that mean that I can just connect the 3 differential pairs up (so 6 wires in total and I am good to go) So the encoder differiential pairs don't need a ground also?
The encoders are powered from the drive, so no load on the Mesa boards for that.Becksvill wrote:
and also what about the 7i76 logic 5v power from the 5i25? will that be ok for now as is. I know eventually I will need to get a separate 5v powersupply so I don't put too much load on the pci slot with 5 encoders running..
And that combination of Mesa cards should do just fine, just do not forget to order a cable with headers for the 7i89.
Please Log in to join the conversation.
Ok I will try that tomorrow and report back.
then I will go through your wonderful servo tuning tutorial and try to work it out without too much hand holding
and then I better get some more photos up here:)
regards
Andrew
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
currently there is a .05mm dead band in the middle of the Pid loop I think. the step gens need to move more than .05mm before the servo responds
the machine is still in pretty nice condition so it would be nice to get it down to .005mm accuracy. It came from the factory with 0.003mm positional accuracy
anyway I will report back here with the results tomorrow on how it goes. just hope I don't get any ground unbalances and loops
regards
Andrew
Please Log in to join the conversation.
I am just connecting up my encoders and and thought I would post a quick photo of my mesa card wiring system. It isn't particularly neat but if you had seen the first effort!
Attachment not found
you can see my space I have here for the new 7i89 card once it comes. and the E stop circuit relays and spindle direction relays are down the bottom.
I had to use a relay to set up the direction as the 7i76 mesa card doesn't connect up nicely with my vfd without a direction relay in the system.
regards
Andrew
Please Log in to join the conversation.
here is the servo drive manual for anyone that has questions. and I will screenshot the interesting stuff so you don't have to search through the manual. as no one likes to do that for no reason haha
yuhau servo google drive link
Attachment not found
I am not sure what all these terms mean. If someone could either link me to a good tutorial or reply here that would be appreciated.
Edit: I do have a fair idea what most of the tuning terms mean but have never actually tuned a servo drive yet so assume that I don't know anything lol.
Currently I have the encoder count working in the Axis Hal configuration window. But it is inverted and reading negative. I think I have two options here. once is swap the A and B channels and the other is put a negative sign on the encoder entry in the INI file that I haven't made yet.
regards
Andrew
Please Log in to join the conversation.
just a quick update here.
If you have been following along here you will see that I have been trying to tune my chinese servos with their software which I finally gave up on. my eventual plan is to have the encoders running back into a 7i89 mesa card and be permanently set up but currently I don't have the right cards and getting them is a bit of a pain with all the Covid 19 mess. the shutdowns are great for working on machines (here in New Zealand the government essentially pays me to do it. But getting parts is a bit of a pain. anyway I am running the feedback out from my chinese servo drive into the spindle encoder input on the 7i76 card I have. the idea is then I can plot the F error in Halscope the use that to tune the servos by changing the parameters inside the drive and checking the result in Halscope.
after spending most of the say painfully searching forum posts I think I have cracked it! Yeha. It is 11pm here but I finally have some success.
Attachment not found
this Halscope plot shows the commanded position from linux cnc and then the F error which comes from my encoder feedback showing how the servos are actually following the commanded position.
there were a whole lot of Hal connections to set up but I think it is working and I will try to document this for the next person that spends half the day searching for help haha. hopefully when you see the next few posts they help you.
regards
Andrew
Please Log in to join the conversation.
need a little help here.
I am not sure which Pid terms I should be concentrating on. Tommy if you are watching this is where I need that servo tuning help. I will go over your tutorial also in a sec
So my system is a step and dir system with a 7i76 mesa card.
I am trying to tune the velocity/ position loop in my servo drives just using Halscope to graph the error so I can tune the drives.
So I am not using 0-10v control signals.
as that is the case I am not sure what to make FF1
and FF2
and a explanation of how the pid terms talked about in your tutorial relate to my tuning parameters would be helpful.
Attachment not found
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
I have been tracking down your old posts on this for the past few days haha
I am running in open loop like the second method you suggested in this old thread here
old thread on step and dir with encoders
I am trying to use the encoder output from the drives to graph the following error and velocity error so I can tune the drives as the chinese servo tuning software to hard to get working.
I have halscope working fine now
currently I am measuring the joint.0.f-error
also I just connected up another input from the encoder velocity
net x-vel-feedback =>hm2_5i25.0.encoder.00.velocity-rpm
that way I can graph the difference between the commanded velocity and the velocity feedback
(just realised that my scale is not accurate though. the commanded velocity is in m/min and the encoder velocity is in rpm. (better fix that)
Please Log in to join the conversation.
