Hi guys,
I have an application that sprays water onto material as it passes through a duct.
I have a small pump fed by a tank, the pumped water goes through a proportional valve controlled by a 0-10V signal. This then goes through a flowmeter which gives a pulse for every cc (1000 pulses per litre), this then feeds the sprayjet.
I am controlling the valve manually from the screen, with the flowmeter providing feedback for the operator. The flow required is in the range 1 to 4 litre per minute, the optimum flowrate is 2 litres per minute (33hz on the flowmeter). I have connected the flowmeter to both inputs I1 and I2.
Input 1 drives a frequency counter block to provide the litres per minute on the screen.
Input 2 drives a high speed counter for totalizing purposes.
I have 2 problems.
The first problem is that I would like to control the valve using a PID block, so the operator sets the flowrate and the valve is controlled by the PID loop. I have tried this but it always becomes unstable. Any advice would be welcome.
The second problem is the totalizer, it seems inaccurate when compared to the flowrate and the real evidence of the tank level. I suspect it has something to do with the high speed counter not working untill the input is higher that 4hz. Could I use a normal counter?
Any help would be very welcome.
Rev667