RS5000 and M02AS hydraulic servo motor

I misread the values,

motion group coarse update period is 32ms.

scan times average 500us, though max time was 5111us.

The servo update period is 2000 us.

The valve response time is around 240ms for a zero to 100% response.

I'm assuming that us means microseconds.

The controller is not the slowest thing in the loop by a large margin.
 
I misread the values,

motion group coarse update period is 32ms.
I am not familiar with how the group update works. Seems slow.

scan times average 500us, though max time was 5111us.
If this is the PLC scan time then no problem

The servo update period is 2000 us.
This is the coarse update 2000 microsecond or 2 ms. This is OK considering the valve is so slow..
The valve response time is around 240ms for a zero to 100% response.
The valve is junk. You need to replace it.
You need finer resolution.
 
Back from the dead...

New valve installed: 4WRPEH 10 C4 B100L-20/G24K0/A1M I believe this one should be appropriate for motion control. I am in the process of trying to get a better encoder.

Manual: https://airlinemedia.airlinehyd.com...oth/data sheets/4wrpeh_10_re29028_11_2013.pdf

I think the pertinent details are:
Hysteresis <0.2%
Actuating time for signal step 0...100 % ms ≦ 25

All parameters are the same as before, I am wondering if/what parameters should be changed? Should I do a "Tune"? I am still seeing an overshoot in position at the end of each travel direction, as well as intermittent oscillation when stopping from a manual move (using MAM and MAS). Any suggestions? I will try to add a fresh trend later today.
 
Last edited:
The valve should be good. What you need to do is a manual job using the direct output command. This will show if the mechanics are tight. Also, there better not be hose between the valve and the cylinder. Hose between the valve and the cylinder will act like a spring.

It is cold but clear down here. I bet it is colder there.
 
The valve should be good. What you need to do is a manual job using the direct output command. This will show if the mechanics are tight. Also, there better not be hose between the valve and the cylinder. Hose between the valve and the cylinder will act like a spring.

It is cold but clear down here. I bet it is colder there.

I think it is hard lines all the way, will find out for sure later. The valve drives a hydraulic motor which is chained to the hoist. You can see the encoder end of the chain at the far end of the hoist in the picture.

-3 this morning, and threatening more snow.

Stacker hoist.jpg
 
I think it is hard lines all the way, will find out for sure later. The valve drives a hydraulic motor which is chained to the hoist. You can see the encoder end of the chain at the far end of the hoist in the picture.

-3 this morning, and threatening more snow.
is there slop in the chain? Also, hydraulic motors have a lot of stiction. You may need to use the dead band eliminator to keep from rocking back and forth.

It is cold here too. 28 deg F and I need to work on my camper's back up camera.

I see hose. Too much hose.
On top of that the speed of sound in hydraulic oil is about 1 ft per millisecond. If there is 20 ft of hose between the valve and the cylinder, the dead time will be about 5 milliseconds. That means that it will take 5 milliseconds for what ever the valve does to get to the piston.

The controller is not the slowest thing in the loop by a large margin.
No kidding. Again, getting a trend in direct output mode will tell a lot. Create pens for actual position and control output.
 
The hoses are for the hoist hydraulics, up/down, clamp in/out. The motor is up in the rafters, pretty sure it's hard line the whole way. The millwright says the chain is "fairly tight". The hardline run is more than 20ft from the valve to the motor, probably closer to 45 ft. Attached trend from this morning.

Motion cycle auto 2023 02 02.jpg
 
Last edited:
OK, the trend is helpful but closed loop control not open loop.
Do you see the spikes in the control output? That happens because your feedback is too coarse. You don't have enough pulses per inch or turn of your hydraulic motor.

Notice the actual position seems to lead the target position. It looks like you are using feedforwards but they are a little high.

Look at about 9:35:31
What confuses me is that you can see the target position move to a new position and stop. The actual position does an OK job of tracking the target but when the target position is reached, the actual position is not overshooting. It is being drawn back

Look at the vertical line a 9:35:37.694
but the control output doesn't seem to respond to the error between the target and actual position. That is a huge steady state error at the set point. It doesn't look like the integrator is being used or the control output would be winding up during the time it is stopped. It doesn't look there us much proportional gain being used. Look at the control output when at rest when it is after a positive move and a negative move. The errors have different signs. The control output should be different during these periods.
It looks like no proportional gain is used at all or the closed loop gains are set to 0 after the target position reaches the command position.

BTW, guys. An experienced person can can tell a lot from a trend or plot.
 
Last edited:
Peter, very helpful. The Gains tab has the following configuration as per picture. In addition, there is a Limits tab which has:
1. Position Error Tolerance: 20 inches (seems really high to me?)
2. Position Lock Tolerance: 1 inch (which probably accounts for the difference in position when not moving)

There is also an Output tab which has "Velocity Scaling" at 10% / (inches/s)

Rockwells manual define these items, but don't give any insight as to how they affect the controls, or I'm not sufficiently versed. Probably the latter.

Thanks again for your insights, Peter. Invaluable!

Stacker Gains Configuration 2023 02 02.jpg
 
I was able to capture a "manual move" of the hoist, the logic uses Motion Axis Move and Motion Axis Stop (MAM and MAS) instructions, same as in automatic, but the values for speed, acceleration, etc are different. Interesting to see the oscillation in position there, does that hint at the stiction in the hydraulic motor? I don't want to derail the original issues, but it's likely they are related, no?

When you say open loop control, are you referring to using the axis commands to directly move the hoist, without any logic?

Motion cycle manual 2023 02 02.jpg Motion Direct Commands.jpg
 
A direct output command would not have the spikes in the control output.

A direct output command simply sends a voltage to the valve. You need to be fast to turn the voltage back to 0 to keep it from running into something.

The spikes are caused by the **** poor resolution of the encoder and I see you are using the derivative gain. Don't use the derivative gain. If your really need to I think the Rockwell software has an output filter feature that will reduce the spikes in the output.

The big thing I see is that no matter which direction you move, you don't get to the command position and the even though the direction of the error changes, the control output is still the same. It looks like the M02AS is making no attempt to get in position with the parameter you have.

I have never liked the way Rockwell scaled their gains. It isn't intuitive.
 
A direct output command would not have the spikes in the control output.

A direct output command simply sends a voltage to the valve. You need to be fast to turn the voltage back to 0 to keep it from running into something.

The spikes are caused by the **** poor resolution of the encoder and I see you are using the derivative gain. Don't use the derivative gain. If your really need to I think the Rockwell software has an output filter feature that will reduce the spikes in the output.

The big thing I see is that no matter which direction you move, you don't get to the command position and the even though the direction of the error changes, the control output is still the same. It looks like the M02AS is making no attempt to get in position with the parameter you have.

I have never liked the way Rockwell scaled their gains. It isn't intuitive.

Next time we run timbers that don't use the stacker I will run some direct commands and trend it. Millwright's also going to verify hardlines all the way to the motor (he thinks some might be hose that got put in when a line failed), as well as backlash (hysteresis?) at the final drive elements (chain, motor, sprocket, etc). Researching new encoder as well.
 
Originally posted by Peter Nachtwey:

The big thing I see is that no matter which direction you move, you don't get to the command position...

I wouldn't get too hung up on that, Peter. That looks to me like a trend scaling issue. You notice how all three of the traces conveniently hit both the top and the bottom of the trend window? I suspect that the trend is set up to auto scale. So the actual and command position traces are not on the same scale. If you look at the window in the upper right corner of the trend from a few post back you will see that both the commanded and actual position values are at 16.

Robb B, go into the Pens tab of your trend and set the min and max values for each of the pens you have for the expected range of the value plus 10%. But make sure you set the min and max of both the command and actual positions to the same values. Then on the Y-axis tab in trend set-up, select the Preset min/max option in the upper left corner and the "Each pen on independent scale" selection in the scale options in the lower right. this will make the graph make more sense.

Keith

Keith
 
It would be very interesting to see also the control curve, because the nature of the noise modes in the valve position signal is not clear.
 

Similar Topics

I have recently made a career change after 25 years of being an electrician. I am officially a junior automation controls programmer. I recently...
Replies
11
Views
332
Hi Guys, Hoping that someone could please confirm if the 1756-IF16/B is/isn't compatible with the 1756-L1 5550 processor(13.24). I'm sure I...
Replies
2
Views
91
Hello, I need help making a logic modification to a RS Logix 5000 program. I can email the program and give plenty of insight to it plus I have...
Replies
4
Views
2,155
Hey folks I was wondering how one puts shortcuts on the logic display for instructions. A few weeks back another programmer added them for me...
Replies
2
Views
963
Hello, I'm struggling with getting an email to send using an eweb module on a controllogix system. Any chance I could get someone here to help?
Replies
4
Views
1,819
Back
Top Bottom