Mesa Analog Vs Step Dir

More
13 May 2024 12:41 #300515 by anfänger
Hi,

I've done two analog controlled retrofits so far and they all wenn really well.
the third is giving me a head ace. I think I have a noise problem and so have oscillating servos. I tried to improve shielding but had no success.
I am thinking about changing to step Dir to avoid the noise problem.
The Servos can handle analog velocity mode or step dir positioning mode, my spindle controller will handle also Step Dir for velocity mode.
I have the Mesa 7i97 at the moment.
My question is what would make more sense To skip the encoder feedback and let the servo drives handle the positioning.
Or try to close the loop with the feedback from the servos. And what would be the mesa card to go? Or can the 7i97 also used for step Dir

Thanks for your input.

Patrick


 

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

More
13 May 2024 14:01 #300517 by PCW
Replied by PCW on topic Mesa Analog Vs Step Dir
Have you tuned the drive itself? That may be the root of the oscillation issue.

You can add a few step/dir channels to a 7I97 on the expansion connector if
desired, but if you are not using the 7I97 analog channels at all it would be less wasteful
to use a 7I96 or similar. If you add step dir channels to the 7I97, you would typically use
a daughter card like a 7I85S (4 channels of differential step/dir outputs) or a simple parallel
port type breakout like the common "Mach 5 Axis" BOB which has 5 axis of single ended
step/dir outputs.

In general, adding encoder feedback to LinuxCNC makes sense if you have linear
encoders (as they can improve the overall accuracy) or if you need to disable the
drives without losing position.
 
The following user(s) said Thank You: besriworld, anfänger

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

More
14 May 2024 09:41 #300567 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
Many thanks!
I think I will get myself a 7i85s and switch to step dir.

On the bench test it worked and the drives on their own work also well.
only in the machine connected to linuxcnc they oscilate and it looks close to 50 hz.
I have linear scales on the machine (except for the 4th axis). but they have only a resolution of 0,05mm the encoders give me more theoretical accuracy.
I might add them later with higher resolution scales.

How does homing work without the use of the encoders? Is it just the accuracy of the switch then? Cause I would loose the Index signal from the encoders?

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

More
14 May 2024 17:20 #300588 by PCW
Replied by PCW on topic Mesa Analog Vs Step Dir
Its possible to home to index with step/dir, it just requires
firmware with step/dir index support and wiring the index to
the mesa card
The following user(s) said Thank You: anfänger

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

More
14 May 2024 19:29 #300595 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
many thanks, I'll give it a try, with the 7i95s the encoders are wired up so getting the index to the Mesa cards is already done.

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

More
16 May 2024 10:12 #300720 by zajc3w
Replied by zajc3w on topic Mesa Analog Vs Step Dir
working on the bench is not the same as working with real load, Servo drive/controller should have an inertia tuning function, even cheap ass Chinese drives have that. usually it involves setting parameter or 10 on the drive and enabling, it them moves back and forth adjusting internal PIDs to get max accelerations without oscillations.

Mitsubishi mr-j4 servo drives require active laptop connection to do autotune
yasakawa/omron sigma 1-3 don't, didn't have a chance to play with later ones.

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

More
16 May 2024 11:39 #300729 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
I know I’ve tuned my other machines.
I usually bench test first. Then install and tune, then connect Linuxcnc and tune it. And the trouble start when I connect the analog control.
Even with analog Control and the servos have no load they have 50hz vibration. Which I can’t get rid of. With the spindle I don’t have the issue the wires could be routed differently and I can use other better shielded wire. For the drives I can’t do this easily. I twisted and try to shield the wires with tape. But it didn’t improve. And have no idea what else to do. I could start to add ferrites or try to reroute all other cables and chasing down the issues. But I figured going digital would be quicker

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

More
16 May 2024 11:51 #300731 by tommylight
Replied by tommylight on topic Mesa Analog Vs Step Dir
50Hz vibrations are from interference or bad grounding/shielding or miss wiring, always.
Analog grounds are usually not connected to machine ground, but sometimes they are, something that can not be said for sure you should or should not do. It depends on a lot of things.
If you are sure the wiring and grounding is correct, use a 1KOhm resistor between analog ground and machine ground, if it does improve noticeably, use a 100 Ohm resistor then 10 OHm, and see if that helps. If the any of the resistors heat up or burn, stop, remove resistor and check wiring.
Do keep in mind, this is the last resort and not advisable at all, but i had to do this once on an older machine and all was good, but it might cause issues.
The following user(s) said Thank You: anfänger

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

More
16 May 2024 13:03 - 16 May 2024 13:04 #300736 by zajc3w
Replied by zajc3w on topic Mesa Analog Vs Step Dir
It wasn't clear you did tuning from you previous posts(or mu reading), sorry.

Diy shielding never works, twisted pair shielded cable is not that expensive and may be quicker solution.
...thinking now, how analogue signal running 20-30cm from mesa board to servo drive picks up all that noise anyway? Or??? did you install drives next to the motors and ran control cabling all over the machine?
Last edit: 16 May 2024 13:04 by zajc3w.

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

More
16 May 2024 14:12 - 16 May 2024 14:13 #300748 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
I was kind of lazy and used a prewired dB 50 connector to wire up the drives. They are still in the switching cabinet. But I needed to open them up quite soon to wire in the connection to the limit withes. So then they run open for about 80 cm next to main power an most of the other three phase auxiliary power lines for lubrication, coolant, fans and so on.
I did solder the db 50 connectors for my lathe and used network cables there. But I hated it and needed some troubleshooting later due to mistakes i made. I was hoping to get away with it. But I didn’t. I could spent one night soldering up the cables and another fixing them.
The cables I have are fully connected, so converting to step dir is easy.
I could try solderfree connectors… but they would be more expensive than the additional mesa board I need. And I want to get the machine running before I have to move her to my new shop. I really don’t like these db50 connectors. My spindle driver is better at this point but it’s also much bigger.
Last edit: 16 May 2024 14:13 by anfänger.

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

Moderators: PCWjmelson
Time to create page: 0.104 seconds
Powered by Kunena Forum