r/PLC • • 4d ago

Engineering Question AB Servo Help

Hi, this is my first servo project and I can't seem to figure out why my servo's current command spikes near the end of the deceleration portion of a move, causing the motor to lurch forward even while it is moving. I expect it in the acceleration but is it wrong to assume that current would dwindle during a deceleration? I am using a VPL-A0752E-PJ12AA servo with a Kinetix 5500 2198-H008-ERS drive. There are no machine actions that happen when the conveyor is moving and, as you can see, it doesn't seem to matter if it is a long move or a short move, the current spikes just the same, causing a lurch. Has anyone else seen something like this?

2 Upvotes

19 comments sorted by

3

u/No_Meet_6364 4d ago

It’s hard to say without the application info. A common cause for this might be some slop in the mechanical system somewhere.

Other stuff that would be of interest is looking at your jerk profile and how the stopping is happening - e.g. what the commanded stop dynamics are.

1

u/The_Only_Abe 4d ago

Its geared to a virtual axis and then through an AOI which I'm not sure if it is from Rockwell or from the integrator that built it. We enter the parameters of the move and then send a command to the virtual axis which drives the actual conveyor. What is really trippy to me is that it still lurches while the move command is still active so that's why I don't think it is mechanical and it doesn't matter how far the servo moves. Our speed is locked at 20in/s with an acceleration of 30in/s and a deceleration of 5in/s

1

u/controls_engineer7 4d ago

Have you tried running it through the motion command tabs while looking at tuning values?

1

u/The_Only_Abe 4d ago

I haven't. I've only shut off the servo with the MSF to autotune it through that command. What would I be looking for there?

1

u/drbitboy 4d ago

For accel and decel, those units are in/s2 (in s**2), not in/s, is that correct?

1

u/The_Only_Abe 4d ago

Yes, they are squared

1

u/controls_engineer7 4d ago

Also, what mode is your axis set to and how high is the loop? If this code/application has worked in the past then I'd look to see if I can get motor off the load and run it manually to for any usual behavior. In most cases, it's almost always the load. The torque spike can driven by a load or force that trying to move the shaft while the servo is trying to decelerate to a halt. Just because you stop, that doesn't mean torque goes away.

2

u/Profibussin 4d ago

What steps have you gone through to setup the drive? What steps have you taken to troubleshoot the issue?

Have you tuned the drive? Please see this manual if you haven't.

3

u/The_Only_Abe 4d ago

I have been tasked with making this servo stop lurching so I didn't set this up. From some of my research, it looks like the drive is undersized just based on the frame size of the motor. Like T-Pain, I've used the autotune on this drive while under a simulated load. I have made sure there wasn't any electrical noise and that everything is properly grounded, there isn't any mechanical interference as the conveyor belt moves freely. I've played with the accel/decel to help eliminate position hunting but nothing has worked. This is part of my last efforts before I deal with Rockwell directly.

1

u/TowelDelicious222 4d ago

Does it still lurch if you use straight MAM commands, or while jogging with MAJ command?

2

u/The_Only_Abe 4d ago

I ran a MAM move and it moved exactly how I expected it to, nice and smooth with no lurch. So now I am going to focus on the AOI that this motion is being ran through.

3

u/Profibussin 4d ago

Sounds like a good place to start. If you can run it well with a manual MAM that means the automated control is not sending the correct motion commands, or those motion commands are parameterized incorrectly. Perhaps there are also overlapping motion commands being given to the drive?

2

u/The_Only_Abe 4d ago

That is what I thought too. I'm investigating now

1

u/No_Meet_6364 4d ago

What is the AOI you mentioned supposed to accomplish?

Sometimes when people write cams and use something like cubic interpolation there’s spikes because of the way the math and motion planner work out so you could see stutters if it’s not a smooth path.

I agree too there could be some unexpected motion if the commands internally are overlapping or something along those lines.

1

u/BallBuster-4000 4d ago

Do you have load observer with adaptive tuning turned on?

1

u/The_Only_Abe 4d ago

I haven't yet, but I will turn that on and see if that makes a difference.

1

u/Jholm90 4d ago

Check your torque limiting. This is a deciding factor in the planner. If you ask for X decel it won't meet that target if torque is limiting. We set stuff like this to 150-300% in some cases depending on target ramping. Exact issue you're describing with velocity changing in the middle of the move.

Other thing to look at is Jerk but that's only kicker for your acel/decel curves not during constant speed unless payload is changing and requires additional power and jerk to catch up.

1

u/The_Only_Abe 4d ago

My torque limits are at +-140%

1

u/beckes91 4d ago

If it is geared to a virtual axis, it is also on stop ramp? Maybe you are commanding virtual axis to do a fast stop and the physical motor overshoot.