I realise that people here are infinitely more experienced than me and probably used to working under strict parameters. In this project, as long as it tracks the surface with somewhat steady pressure (or at least for the most part) I am good to go
I don't know how to quantify "somewhat steady pressure". You have to have a target in mind, otherwise how do you know when you are done?
Anyhow, as Nick points out we first have an issue regarding terminology and can say that I was under the same impression that he was. Force and Pressure are two different things. You are trying to control "force" my modulating "pressure". So now it makes more sense that you are using an external PID controller.
You still have not provided the part number of your valves. Please do.
We can probably assume now that they are current or voltage to pressure transducers. So why were we confused before? Because most of these transducers already have a PID loop built into the device itself to regulate pressure. So when you said you were trying to use PID to control pressure we were left wondering why?
Is 0 to 50 N really the full range you want to control in, or is that just the range of your load cell?
Some considerations ........ you will find it very difficult to regulate accurately at the low end. This is because the friction/stiction/deadband/side-load in the system will be a larger percentage of your setpoint down there.
Why do I care what the bore of your actuator is? To see how well matched the size of your actuator is to what you are trying to accomplish. The larger the bore, the more force per unit pressure. Say for example your valve can regulate between 0 to 5 bar. Now lets say that 5 bar correlates to 200N. Well this means that you are capable of 4 times what your load cell is rated for. Therefore, in reality you will be trying to control your system using only the lower 25% of your valve's range. In other words, trying to drive in finishing nails with a mallet. You lose some control resolution.
Do your transducers have a downstream pressure monitor signal to bring back to the PLC?
What CPU are you using?
Your source pressure is what is the compressed air coming out of the wall. Your valves can only regulate to a reduction of your source supply. So if your supply is only 5 bar then that is as high as you are going to get regardless of whether your valves can go up to 6.
Line sizes/lengths/volumes are important. In some ways they act as capacitors, in other ways they act as resistors. If the supply lines are too small then your valves won't be able to react as fast as they need to because it restricts the flow of air. If the lines going to the actuator are too small they will act as a restriction and decrease your response time. If they are too large, they will also increase your response time because it increases the volume of air you need to regulate. You want them just right. If you have a system where you need fast response and can handle quick disturbances you want to minimize line volume. If you care more about steady state accuracy and disturbances are a minimum then long lines can actually be helpful because they act like a resevoir of the correct pressure.
What are you using as a load cell amp?
How is the load cell coupled to the system / where/how is it mounted?
So if I understand correctly, you have one transducer controlling pressure to one side of the piston and another separate valve controlling the pressure on the other side of the piston. Therefore you are pressurizing both sides of the piston at all times. The differential of these two pressures combined with the weight of your tooling is determining your net force. As you point out, leaving one side a static pressure is not a good solution. Your most stable operation will occur by maintaining a constant differential.
I would set it up as so.
In the middle of your range, decide on a minimum "backpressure" you want on the lower side of the cylinder. From a control standpoint the higher you make this the more rigid it will act, but the tradeoff is you will lose high end force because it will act to oppose your downward force. I would not do a second loop for the other side. I would instead set the CV of the lower end of the cylinder to always be what the "open loop" differential
should be to achieve the desired force. Therefore you backpressure will be a function of your setpoint.
You will need to know what your pressure/force relationship is for both ends of the cylinder to calculate this. If it is rodless they will be identical. It it is rod style the rod end will be slightly weaker than the piston side.
I would then setup the PID for the upper side of the cylinder to regulate around a narrower band about the open loop value for the higher end of the differential.
As a point of comparison, you should also see what the open loop regulation looks like (wihtout PLC PID). As stated before, your transducers already regulate the pressure and your actuator is going to translate that pressure into force in a linear fashion regardless of where it is along the stroke. So if you are moving the block under it slowly, the tranducer itself will do most of the work. Your loop just needs to make minor corrections to adjust for what your seeing at the load cell.