Blog

What a camera sees in a flotation cell

The best flotation operators I have met do a thing no instrument does. They lean over the rail and look.

Date
Outcome
Yield
Capability
Computer vision

Reading bubbles for a living

If you have never seen a flotation cell, picture a tank of gray slurry the size of a small room, with air blown in at the bottom. The air comes up as bubbles. The mineral you want has been coaxed, with chemistry, into sticking to those bubbles. The rock you do not want stays in the water. So the valuable stuff rides to the surface as a froth and slops over the lip into a launder, and the rest goes out the bottom.

That is the theory. In practice the froth has moods.

I stood beside an old hand at a copper concentrator once while he walked the bank. He would glance at a cell for perhaps two seconds and say something like "too wet" or "she's carrying well" and move on. I asked what he was looking at. He had some difficulty telling me, the way you would have difficulty explaining how you recognize your own front door. Bubble size, he said eventually. Color. How fast it moves to the lip. Whether the bubbles hold or burst. A dull, heavy, slow froth meant one thing. Small bright bubbles racing over the edge meant another.

He was right nearly every time. He was also one man, on one shift, with forty cells and a habit of taking lunch.

Two seconds, every two seconds

A camera over a cell does not get lunch. That is its first advantage, and I do not want to dress it up as more than it is.

What the camera sees is what the operator sees: a moving surface of bubbles under a lamp. The work is in turning the picture into the few quantities the operator was judging. Bubble size is found by picking out the bright highlight on each bubble and the dark lines between them. Speed comes from following patches of froth from one frame to the next. Color and texture are measured directly. Stability, by counting how many bubbles burst before they reach the lip.

So where the plant had an opinion once an hour, it has numbers every couple of seconds. And numbers can be trended, alarmed on and compared between shifts. The argument about whether cell four looked different yesterday is replaced by a chart, which is less fun and more use.

Then comes the step that makes it worth the trouble. The froth numbers are set against the assays, the air rates, the reagent doses and the levels. A model learns which appearance goes with good recovery and which with poor, and how the look of the froth responds when the air or the level is moved. At that point the camera is no longer a description. It is a measurement you can steer by, in the gap between assays.

A camera in a wet, dusty place

I should say that none of this is as tidy as it sounds, because a concentrator is a poor photographic studio.

Lenses get splashed. Somebody has to clean them, or an air purge has to keep them clear, or the model slowly concludes that the froth is turning to fog. Daylight through a doorway changes the color of everything at four in the afternoon, so the cell needs its own lamp and a hood. The ore changes, and froth that meant trouble on one ore type is perfectly healthy on the next. A model trained in the dry season needs a second look in the wet.

These are the ordinary troubles of putting computer vision to work on a plant, and they are mostly solved by mechanical good sense and not by mathematics. A bracket that does not vibrate. A lamp that does not flicker. A person who is told when the image has gone bad.

The old hand, by the way, was not put out by any of it. I had half expected he would be. He watched the bubble-size trend for a while and then pointed at a dip. "That's when the lime ran low," he said. He was right about that, too.