
JasonO (Customer) asked a question.
Hello,
I'm looking for input on a current project. I'm retrofitting the controls on a older sausage stuffer. The stuffer has a fixed displacement feed rotor driven by a hydraulic motor, which is controlled by a hydraulic proportional valve. The rotor has an incremental encoder for position feedback.
The basic process is that the hydraulic motor needs to be ramped up to a set speed, and ramped back down again to stop at a predetermined encoder position. The positioning needs to be very accurate, because obviously the machine needs to dispense a specific volume of product based on what the operator has entered. Also, the whole operation happens relatively quickly, depending on the size of the portion being dispensed. Ideally we want a motion profile something like this: 150 milliseconds to accelerate, 200 milliseconds at full speed, and 150 milliseconds to decelerate to a stop. The customer is OK with slowing down a bit if necessary to get the accuracy we need, but for now I'm aiming at a total time of 500 milliseconds for dispensing one portion.
I'm hoping to control this with a BRX, using a 4-20 mA signal to a proportional valve driver, and the encoder feedback for closed loop operation. I'm thinking that the way to go about this will be to use a virtual axis and the motion control commands, with the axis CurrentVelocity scaled to the analog output, but I'm not certain on the details of how to make this work, especially to get it to ramp down to a precise stop. I've done some other motion control projects of varying complexity, but never with hydraulics.
Anybody have suggestions on how to go about the control?
Here are some videos of similar machines:
https://www.youtube.com/watch?v=fWJIxhHfxPc

A BRX is perfect for this, and using the virtual axis and closed loop control sounds like a good way to do it to ensure accuracy. I think you should be able to do it just like you said, start a trapezoidal move with your motion parameters, use the encoder feedback as closed loop into the move, and use a scale instruction for the current velocity of the axis into the counts for a 4-20ma output.
The PLC will maintain perfect control down to the single encoder pulse and be very accurate, however you may have to do some additional logic or shifting positions and times a bit to account for the inaccuracy introduced by the hydraulic motor, which is not as accurate