Skip to content
PROCESIAby Aterra Ingeniería

LEARN · PROCESS CONTROL

Ratio control

How to mix two liquids always in the same proportion, even when production changes. And what to do when the raw material does not arrive the same, with an analyzer that corrects the blend.

The problem: a blend that won't hold still

A plant makes juice by diluting concentrate with water in the TK-101 mixing tank. The concentrate arrives with the P-102 pump and is measured by FT-102; the water enters through the FCV-101 valve and is measured by FT-101. The product has to come out at 11.0 °Brix (the sugar concentration), with a tolerance of ±0.3 °Brix. The AT-101 analyzer measures the °Brix at the outlet.

The concentrate flow is decided by production: if more bottles have to be filled, it goes up. The water has to follow it. The same problem appears when dosing chemicals, in the air and fuel mix of a burner or when diluting caustic soda in a pulp mill.

water SP = R × concentrate flow
The blend, live
Concentrate 65 °Brix P-102 FT FT-102 2.50 m³/h Water 0 °Brix FCV-101 50 % FT FT-101 12.3 m³/h FY-101 · ratio × 4.91 FIC-101 · SP 12.3 m³/h AIC-101 +0.0 % TK-101 mixer AT AT-101 11.00 °Brix
Product °Brix · AT-101
11.00
specification 11.0 ± 0.3 °Brix
Out of specification
0 %
of the product over the last 10 min
Status
in specification
Trend · last 10 minutes
°Brix AT-101Band 10.7 to 11.3 °BrixConcentrate (m³/h, right scale)Water (m³/h, right scale)
Control strategy
12.3 m³/h
Production and concentrate
2.5 m³/h
65.0
Simulation
Simulated time: 0:00 · 0.6 m³ mixer

Simplified simulator: perfect mixing in 0.6 m³, analyzer with a 10 s delay, water valve up to 24 m³/h. The °Brix is calculated by mass balance, without considering the density difference.

First attempt: fixed water

The simplest thing is to leave the water fixed at the right flow. It works as long as production does not change. If the concentrate goes up from 2.5 to 3.5 m³/h and the water stays the same, the product comes out much more concentrated.

Try it: choose “Fixed water” and move the concentrate flow, or tick “production changes by itself”. The °Brix leaves the green band with every change.

Ratio control

The solution is for the water to follow the concentrate. There are two flows:

  • The free flow, which is not controlled in this loop: the concentrate, which production sets.
  • The controlled flow: the water. Its setpoint is the free flow multiplied by a ratio R.
water SP = R × concentrate flow

The ratio station FY-101 does the multiplication and hands the setpoint to the flow controller FIC-101, which moves the FCV-101 valve. If the concentrate goes up 40 %, the water setpoint goes up 40 % instantly, without waiting for the product to be spoiled.

What is R?

With a sugar balance: all the sugar comes from the concentrate and is spread over the total flow. If the concentrate has Bc °Brix and the product must have Bp:

R = Bc / Bp − 1 = 65 / 11 − 1 ≈ 4.91

For every m³ of 65 °Brix concentrate, 4.91 m³ of water go in. It is an approximation: in a real plant you work with masses and densities, but the idea is the same.

Try it: choose “Fixed ratio” and change the concentrate flow. The water follows it and the °Brix hardly moves.

The limit of a fixed ratio

The ratio was calculated for a 65 °Brix concentrate. But the concentrate arrives in batches, and a batch may come at 62 or at 70 °Brix. The ratio keeps mixing at 4.91 and the product comes out of specification, even though the flows are perfect.

Try it: with “Fixed ratio”, change the batch °Brix to 70. The product settles near 11.8 °Brix and does not come back on its own.

Correction by analysis

That is what the analyzer is for. The AIC-101 controller compares the °Brix measured by AT-101 with the 11.0 of the specification and adjusts the ratio little by little: if the product comes out concentrated, it raises R; if it comes out diluted, it lowers it.

water SP = R × (1 + correction) × concentrate flow

Two strategies working together:

  • The ratio is feedforward: it acts as soon as the concentrate changes, before the product is affected.
  • The correction is feedback: it looks at the result and corrects what the ratio could not foresee, such as a different batch.

The correction has to be slow. Between the water changing and the analyzer seeing it, the tank's mixing time and the analyzer delay go by. A fast AIC-101 would overshoot and make the blend oscillate. That is why a limit is also put on it: in the simulator, ±20 %.

Try it: choose “Ratio + °Brix correction” and change the batch to 70. Watch how AIC-101 raises the correction until the product returns to 11.0. Then change the concentrate flow: the ratio absorbs it right away.

StrategyProduction changeBatch change
Fixed waterOut of specificationOut of specification
Fixed ratioGoodOut of specification
Ratio + correctionGoodReturns to specification in a few minutes

In a real PLC

  • Scale the flows in the same units (for example, m³/h) before multiplying by the ratio.
  • Limit the water setpoint to the range of the valve and the flowmeter, and limit the analyzer's correction.
  • If the analyzer fails or is under calibration, freeze the correction at its last value and continue with the ratio. Do not let a false measurement move the blend (we saw this in Instrument faults).
  • If the concentrate pump stops, the water also has to stop: with zero free flow, the water setpoint is zero.

The juice dilution plant program for the M221, with the ratio and the concentration correction, is in Tutorials.

A challenge

With the correction on, leave production changing by itself and change the batch to 60 °Brix. How much product comes out of specification in 10 minutes? What would happen if the batch dropped to 55 °Brix? Think about the limit of the correction.

Program the blend with your PLC

Procesia includes a juice dilution plant with its solved program in Tutorials. Use the full version free for 7 days, no card.