grnick50
Lifetime Supporting Member
Hello all,
I am doing the control system of an asphalt mixing plant. The aggregates is a mix of 5 diffirent ingridients.
My question is about the calculation of the tail weight and proper control of the scale.
I need to determine based on the Setpoint and flow of the material, the point in time I need to close the door. If I wait to close the door when I reach the SP then it is too late as there is a huge overshoot of the SP. So what I did, is to program a timed interupt and calculate the rate of change of weight every 100ms. I then multiply this by 10 and I get the flow in kg/s. I know the time it takes the bin door to close, so I guess multiplying this time by the flow (kg/s) I have the tail weight calculated. Note that as the kg/s changes constantly I take its value when I reach 0.5*SP using a rising edge.
Therefore I am closing the door at SP-((kg/s)*T_door_close)).
That is the theory. In practice it did not work.
The reason was that kg/s changed erraticaly. There was no stable reading, taking into account that the flow is very fast. At first I had the filter setting of the AI of the scale at 0 (PLC: Modicon M340). I then used a filter of 2 and it somehow stablilized.
I am thinking of using a moving average function to the kg/s value to smooth it.
Then It is the filter set in the weight transmitter itself. I left that at the default setting of 850ms or 12.5Hz.
All this is running in a fast task inside the PLC.
Can anyone comment on the above strategy or propose his own way of doing it?
Regards.
Has anyone a
I am doing the control system of an asphalt mixing plant. The aggregates is a mix of 5 diffirent ingridients.
My question is about the calculation of the tail weight and proper control of the scale.
I need to determine based on the Setpoint and flow of the material, the point in time I need to close the door. If I wait to close the door when I reach the SP then it is too late as there is a huge overshoot of the SP. So what I did, is to program a timed interupt and calculate the rate of change of weight every 100ms. I then multiply this by 10 and I get the flow in kg/s. I know the time it takes the bin door to close, so I guess multiplying this time by the flow (kg/s) I have the tail weight calculated. Note that as the kg/s changes constantly I take its value when I reach 0.5*SP using a rising edge.
Therefore I am closing the door at SP-((kg/s)*T_door_close)).
That is the theory. In practice it did not work.
The reason was that kg/s changed erraticaly. There was no stable reading, taking into account that the flow is very fast. At first I had the filter setting of the AI of the scale at 0 (PLC: Modicon M340). I then used a filter of 2 and it somehow stablilized.
I am thinking of using a moving average function to the kg/s value to smooth it.
Then It is the filter set in the weight transmitter itself. I left that at the default setting of 850ms or 12.5Hz.
All this is running in a fast task inside the PLC.
Can anyone comment on the above strategy or propose his own way of doing it?
Regards.
Has anyone a