6
THE ESTIMATION OF PLATINUM FLOTATION GRADE FROM FROTH IMAGE FEATURES 143 Background The implementation of image analysis as an aid in monitoring and control has been investigated extensively due to its nonintrusive nature and other potential benefits such as more consistent monitoring, higher sampling rate, shorter duration grade estimates and therefore quicker operator response, operator and metallurgist training and assistance in decision making. However, comparatively few applications in automated process control of flotation systems have been reported, particularly in the platinum industry. One of the reasons is that to date froth features could not be related to key performance indicators such as froth grade and recovery. The research focus areas have been the use of froth appearance to detect predefined operational states (Moolman et al. 1995; Holtham et al. 2002; Cipriano et al. 1997, 1998; Van Olst et al. 2000; Kaartinen et al. 2006; Aldrich et al. 1997) and the relation between the appearance and operational variables and plant conditions (Aldrich et al. 2000; Feng et al. 2000; Citir et al. 2004; Barbian et al. 2007; Banford et al. 1998; Aldrich et al. 1997). Although these contributions are significant to our understanding of the flotation process, few have been implemented for automated control. In this paper, we have aimed our efforts towards the estimation of froth grade from froth image data and process conditions. We will briefly discuss the experimental work and feature extraction in the next two sections. Some explanation of the technique used to investigate the relationship between the features and flotation performance will follow. We will end off with conclusions drawn from this study. Experimental work A series of batch flotation tests was done at the University of Stellenbosch in South Africa on a 4.5 l Barker laboratory flotation cell equipped with a fixed rotor and aerator unit. The ore used was UG2 from Rustenburg provided by Anglo Platinum. The fractional factorial experimental design was of the form 2 6-3 i.e. an 1/8th fraction of runs generated by binary combination of six factors measured at two levels as summarized in Table I. The experiments were conducted in completely random order to avoid biased results. The six variables considered were air flowrate ( x 1 ), pulp level ( x 2 ), collector ( x 3 ), activator (x 4 ), frother (x 5 ) and depressant (x 6 ). A series of scoping tests was done to find the two levels for the design in order to keep to a mass pull restriction. The mass pull MARAIS, C. and ALDRICH, C.A. The estimation of platinum flotation grade from froth image features by using artificial neural networks. The 4th International Platinum Conference, Platinum in transition ‘Boom or Bust’, The Southern African Institute of Mining and Metallurgy, 2010. The estimation of platinum flotation grade from froth image features by using artificial neural networks C. MARAIS and C.A. ALDRICH Department of Process Engineering, University of Stellenbosch The use of machine vision in the monitoring and control of metallurgical plants has become a very attractive option in the last decade, especially since computing power has increased drastically in the last few years. The use of cameras as a non-intrusive measurement mechanism not only holds the promise of uncomplicated sampling but could provide more consistent monitoring, as well as assistance in decision making and operator and metallurgist training. Although the very first applications of machine vision were in the platinum industry, no automated process control has been developed for PGMs as yet. One of the reasons is that to date froth features could not be related to key performance indicators, such as froth grade and recovery. A series of laboratory experiments was conducted on a laboratory scale platinum froth flotation cell in an effort to determine the relationship between the platinum grade and a combined set of image features and process conditions. A fractional factorial design of experiments was conducted, investigating six process conditions, namely air flowrate (x 1 ), pulp level (x 2 ), collector (x 3 ), activator (x 4 ), frother (x 5 ) and depressant (x 6 ), each at two levels. Videos were recorded and analysed to extract 16 texture features from each image. By using artificial neural networks (ANN), the nonlinear relationship between the image variables and process conditions and the froth flotation grades could be established. Positive results indicate that the addition of image features to process conditions could be used as sufficient input into advanced model based control systems for flotation plants. Table I Fractional factorial design Run x 1 x 2 x 3 x 4 x 5 x 6 1 - - + - + - 2 - + + + - - 3 - + - - - + 4 - - - + + + 5 + - - - - - 6 + + - + + - 7 + + + - + + 8 + - + + - +

143-148_Marais

Embed Size (px)

DESCRIPTION

book

Citation preview

  • THE ESTIMATION OF PLATINUM FLOTATION GRADE FROM FROTH IMAGE FEATURES 143

    BackgroundThe implementation of image analysis as an aid inmonitoring and control has been investigated extensivelydue to its nonintrusive nature and other potential benefitssuch as more consistent monitoring, higher sampling rate,shorter duration grade estimates and therefore quickeroperator response, operator and metallurgist training andassistance in decision making. However, comparatively fewapplications in automated process control of flotationsystems have been reported, particularly in the platinumindustry. One of the reasons is that to date froth featurescould not be related to key performance indicators such asfroth grade and recovery. The research focus areas havebeen the use of froth appearance to detect predefinedoperational states (Moolman et al. 1995; Holtham et al.2002; Cipriano et al. 1997, 1998; Van Olst et al. 2000;Kaartinen et al. 2006; Aldrich et al. 1997) and the relationbetween the appearance and operational variables and plantconditions (Aldrich et al. 2000; Feng et al. 2000; Citir et al.2004; Barbian et al. 2007; Banford et al. 1998; Aldrich et al. 1997). Although these contributions are significant toour understanding of the flotation process, few have beenimplemented for automated control. In this paper, we haveaimed our efforts towards the estimation of froth gradefrom froth image data and process conditions.

    We will briefly discuss the experimental work and featureextraction in the next two sections. Some explanation of thetechnique used to investigate the relationship between thefeatures and flotation performance will follow. We will endoff with conclusions drawn from this study.

    Experimental workA series of batch flotation tests was done at the Universityof Stellenbosch in South Africa on a 4.5 l Barker laboratoryflotation cell equipped with a fixed rotor and aerator unit.The ore used was UG2 from Rustenburg provided by AngloPlatinum.

    The fractional factorial experimental design was of theform 26-3 i.e. an 1/8th fraction of runs generated by binarycombination of six factors measured at two levels assummarized in Table I.

    The experiments were conducted in completely randomorder to avoid biased results. The six variables consideredwere air flowrate (x1), pulp level (x2), collector (x3),activator (x4), frother (x5) and depressant (x6). A series ofscoping tests was done to find the two levels for the designin order to keep to a mass pull restriction. The mass pull

    MARAIS, C. and ALDRICH, C.A. The estimation of platinum flotation grade from froth image features by using artificial neural networks. The 4thInternational Platinum Conference, Platinum in transition Boom or Bust, The Southern African Institute of Mining and Metallurgy, 2010.

    The estimation of platinum flotation grade from froth imagefeatures by using artificial neural networks

    C. MARAIS and C.A. ALDRICHDepartment of Process Engineering, University of Stellenbosch

    The use of machine vision in the monitoring and control of metallurgical plants has become a veryattractive option in the last decade, especially since computing power has increased drastically inthe last few years. The use of cameras as a non-intrusive measurement mechanism not only holdsthe promise of uncomplicated sampling but could provide more consistent monitoring, as well asassistance in decision making and operator and metallurgist training. Although the very firstapplications of machine vision were in the platinum industry, no automated process control hasbeen developed for PGMs as yet. One of the reasons is that to date froth features could not berelated to key performance indicators, such as froth grade and recovery.

    A series of laboratory experiments was conducted on a laboratory scale platinum froth flotationcell in an effort to determine the relationship between the platinum grade and a combined set ofimage features and process conditions. A fractional factorial design of experiments wasconducted, investigating six process conditions, namely air flowrate (x1), pulp level (x2), collector(x3), activator (x4), frother (x5) and depressant (x6), each at two levels. Videos were recorded andanalysed to extract 16 texture features from each image.

    By using artificial neural networks (ANN), the nonlinear relationship between the imagevariables and process conditions and the froth flotation grades could be established. Positiveresults indicate that the addition of image features to process conditions could be used assufficient input into advanced model based control systems for flotation plants.

    Table IFractional factorial design

    Run x1 x2 x3 x4 x5 x61 - - + - + -2 - + + + - -3 - + - - - +4 - - - + + +5 + - - - - -6 + + - + + -7 + + + - + +8 + - + + - +

  • PLATINUM IN TRANSITION BOOM OR BUST144

    minimum should allow enough froth to be scraped off as asample and the maximum should not overflow the cellspontaneously. The levels that were used are summarized inTable II.

    A representative sample of ore was milled in a 9 l rodmill to obtain the desired particle size. Collector (CuSO4)was added to the mill to allow immediate contacted withthe freshly liberated precious metal. The pulp from the millwas then transferred to the batch cell. The rotator was set toa speed in order to maintain a well mixed pulp. An initialconditioning stage was performed in which the specifiedamount of collector and activator was added and allowed tocondition for 2 minutes, after which the depressant andfrother followed suit. The air flow rate, impeller speed andpulp height were then adjusted according to specifications.After a froth build up time of approximately 30 seconds thefirst float was sampled, immediately followed by the next.

    The froth was scraped off every 20 seconds for aspecified duration: Float 1 lasted 2 minutes, float 2 lasted 6minutes, float 3 lasted 12 minutes, and the last two floats

    lasted 10 minutes each. The third float was followed by asecond conditioning with different dosage specifications.The sampling of float 4 began immediately thereafter. Allthe floats, a feed sample, and the remaining tails werefiltered, dried, and analysed for platinum, paladium, copper,and nickel.

    Video recordings were made of the froth with the use ofthe Sanyo Xacti, high definition (1280 720), waterproofvideo camera, at a frame rate of 29.976 frames per second(fps). A custom-built LED light, consisting of aconfiguration of six 1W LEDs, provided lighting in such away as to minimize the interference of ambient light. It wassituated approximately 25 cm above the cell.

    Image analysis

    Image acquisitionEach experimental run generated approximately 85 000images of size 1280 720. These images were processedoffline on a standard PC using the Matlab 6.2 imageprocessing toolbox. Matrices with red, green, and blueelement values representing each pixel for each frame wereconverted to grey scale for further analysis.

    Feature extractionA grey level co-occurrence matrix was created from eachmatrix of pixel intensities from which four features wereextracted: contrast, correlation, energy, and homogeneity.

    The spatial grey level dependence matrix (SGLDM) isbased on the estimation of the second-order jointconditional probability density functions, f(i,j,d,a), a = 0,45, 90, 135. Each function is the probability of goingfrom grey level i to grey level j, given that the intersamplespacing is d and the direction is given by angle a. If animage has g grey levels, then the density functions can berepresented as g g matrices. Each matrix can be computedfrom a digital image by counting the number of times eachpair of grey levels occurs with separation d and in thedirection specified by a. It is assumed that the texturalinformation is sufficiently specified by the full set of fivespatial grey level dependence matrices. Haralick et al.(1973) proposed a set of measures for characterizing thesematrices. The features (fij, i: settings (1-4), j: features (1-5).)are used most often. The fifth feature of the proposedcompilation, termed entropy, created some difficulties infurther analysis due to the zero variance vectors it producesat settings 3 and 4, and was therefore not included in thefeature set. The remaining features are described as follows:

    Energy( fi,1)

    [1]

    Energy is a measure of the homogeneity of the image.The diagonal and region close to the diagonal representtransitions between similar grey levels. Therefore, for amore homogeneous image, the matrix will have a largenumber of large entries off the diagonal, and hence theenergy (E) will be large.

    Inertia (fi,3)

    [2]

    Figure 1. Diagram of the experimental set-up showing the batchflotation cell and camera on top

    Table IILevels of factors used in the experiments

    Variable High (+) Low (-)Air flow rate (l/min) 6 4Impeller speed (rpm) 1100 900Pulp height (cm below cell lip) 2 3Particle size ( -75m) 60% 80%CuSO4 (g/t) 66 541st conditioning (g/t)SIBX (collector) 88 72Senkol 65 (activator) 22 18KU9 (depressant) 55 45XP 200 (frother) 55 452nd conditioning(g/t)SIBX (collector) 99 81Senkol 65 (activator) 0 0KU9 (depressant) 33 27XP 200 (frother) 11 9

  • THE ESTIMATION OF PLATINUM FLOTATION GRADE FROM FROTH IMAGE FEATURES 145

    The inertia is a measure of the number of local variationsin the image. Therefore an image with a large number oflocal variations will have a larger value of inertia.

    Local homogeneity (fi,4)[3]

    Homogeneity is the measure of the tendency of similargrey levels to be neighbours.

    Correlation (fi,5)

    [4]

    Correlation is a measure of the grey level lineardependencies in the image. x and x are the mean andstandard deviation of the row sums of the matrix, and yand y are the mean and standard deviation of the columnsums.

    Each of these features was calculated at five differentimage settings: default greyscale (s1), histogram equalized(s2), contrast enhanced (s3) and binary (s4) resulting in atotal of 16 image features (see Figure 2).

    Histogram equalization improves the contrast of images.The intensity values of the pixels are transformed so thatthe histogram of the output image closely matches aspecified histogram.

    Contrast enhancement increases the contrast of the outputimage by adjusting a greyscale image to a new set of valuesso that 1% of data is saturated at low and at high intensitiesof the input image.

    Binary images are obtained with the application of a pixelintensity threshold. A global threshold is chosen tominimize interclass variance of black and white pixels(Otsus method). Pixel values that are smaller than thethreshold value will be given the smallest value (black); theopposite is true for larger values.

    The representative features for the floats were extractedfrom the data and the average number of observations perrun was approximately 17 400. The grade for each float wasassumed to be the same for all the representative imagesduring that sampling duration. The final data set used foreach run was as illustrated in Figure 3.

    Incidentally, traditional segmentation techniques, e.g.watershed segmentation, could not be applied successfullyto the images due to the froth appearance. From Figure 2 itis evident that the bubbles are very small and therefore notall of them had clearly identifiable reflection points.Furthermore, the bubbles are not heavily loaded therefore alot of clear windows are visible and in some instancesappear darker than the bubble edges. These shortcomingsprohibited the identification of markers and subsequentdetection of edges.

    Relationship between features and froth gradeArtificial neural networks (ANNs) is a nonlinear functionmapping technique that has grabbed the attention of manyresearchers since its appearance. It is effective technique,yet simple to unfold and not computationally expensive.

    A multilayer perceptron (MLP) network usually consistof three layers of nodes as illustrated in Figure 4. Each nodelinks to another node with a weighted connection, w(i,j).

    X is a set of n-dimensional input vectors:

    [5]

    Y is a set of k-dimensional output vectors :

    [6]

    Figure 2. A froth image at the different settings: (a) RGB image,(b) grayscale/intensity image, (c) histogram equalized image, (d)

    contrast enhanced image and (e) binary image

    Figure 3. Illustration of the data-set structure for anexperimental run

    Figure 4. Multilayer perceptron neural network

  • PLATINUM IN TRANSITION BOOM OR BUST146

    is a set of m activation functions.WH is the network weight matrix of size m j referring to

    the weights between the input and hidden nodes.WO is the network matrix of size m k referring to the

    weights between the hidden and output nodes.The network function for the kth output can therefore be

    formally expressed as:

    [7]

    For the specific data-set the input layer has 22 dimensions(N=22), consisting of 16 of texture features and 6 processconditions. The hidden layer has 8 nodes (M=8) and theoutput layer only one node (K=1) that represents the grade.

    A sigmoidal activation function has been applied betweenthe input and hidden nodes:

    [8]

    where

    [9]

    A linear activation function has been applied from thehidden nodes to the output node.

    [10]

    ResultsThe data-set consisted of 10 000 observations and it wasdivided into three sets to be used for training, testing, andvalidation. The assay results are shown in Figure 5.

    The validation results (Figure 6) show an average R2value of 0.66. Each experiment represents a different set ofplant conditions, and the results in Figure 6 indicate thatunder steady state conditions, a neural network would beable to give reasonable estimates of the grade of the froth.

    Significant changes in the process conditions wouldrequire retraining of the model, as would typically berequired on a plant, where process drift and other changesrelated to process disturbances or changes in equipmentwould be encountered.

    ConclusionsThe results show that ANN modelling is an effective wayof predicting flotation froth grade. It should, in theory, berelatively easy to implement as an inverse model for controldue to the known activation functions and weights, or as thebasis for advanced control dependent on a model. Theadditional advantage of low computational expense makesthis an ideal technique to consider for potential onlineapplication.

    ReferencesALDRICH, C., MOOLMAN, D.W., BUNKELL, S.-.,

    HARRIS, M.C., and THERON, D.A. Relationshipbetween surface froth features and process conditions

    in the batch flotation of a sulphide ore. MineralsEngineering, 1997a. vol. 10, no. 11. pp. 12071218.

    ALDRICH, C., MOOLMAN, D.W., GOUWS, F.S., andSCHMITZ, G.P.J. Machine learning strategies forcontrol of flotation plants. Control EngineeringPractice, 1997b. vol. 5, no. 2. pp. 263269.

    ALDRICH, C., SCHMITZ, G.P.J., and GOUWS, F.S.Development of fuzzy rule-based systems forindustrial flotation plants by use of inductivetechniques and genetic algorithms. Journal of TheSouth African Institute of Mining and Metallurgy,2000. vol. 100, no. 2. pp. 129134.

    BANFORD, A.W., AKTAS, Z., and WOODBURN, E.T.Interpretation of the effect of froth structure on theperformance of froth flotation using image analysis.Powder Technology, 1998. vol. 98, no. 1. pp. 6173.

    BARBIAN, N., CILLIERS, J.J., MORAR, S.H., andBRADSHAW, D.J. Froth imaging, air recovery andbubble loading to describe flotation bankperformance. International Journal of MineralProcessing, 2007. vol. 84, nos. 14. pp. 8188.

    CIPRIANO, A., GUARINI, M., VIDAL, R., SOTO, A.,SEPULVEDA, C., MERY, D., and BRISENO, H. Areal time visual sensor for supervision of flotationcells. Minerals Engineering, 1998. vol. 11, no. 6. pp. 489499.

    Figure 5. Assay results presented in the form of a relative gradeprofile

    Figure 6. Validation results for the ANN model

  • THE ESTIMATION OF PLATINUM FLOTATION GRADE FROM FROTH IMAGE FEATURES 147

    CIPRIANO, A., SEPULVEDA, C., and GUARINI, M.Expert system for supervision of mineral flotationcells using artificial vision. IEEE InternationalSymposium on Industrial Electronics , 1997. pp. 149153.

    CITIR, C., AKTAS, Z. and BERBER, R. Off-line imageanalysis for froth flotation of coal. Computers andChemical Engineering , 2004. vol. 28, no. 5. pp. 625632.

    FENG, D. and ALDRICH, C. Batch flotation of a complexsulphide ore by use of pulsated sparged air.International Journal of Mineral Processing, 2000.vol. 60, no. 2. pp. 131141.

    HARALICK, R.M., SHANMUGAM, K., and DINSTEIN,I. Textural features for image classification. IEEETransactions on Systems, Man and Cybernetics, 1973.vol. 3, pp. 610621.

    HOLTHAM, P.N. and NGUYEN, K.K. On-line analysis of

    froth surface in coal and mineral flotation usingJKFrothCam. International Journal of MineralProcessing, 2002. vol. 64, nos. 23. pp. 163180.

    KAARTINEN, J., HATONEN, J., HYOTYNIEMI, H., andMIETTUNEN, J. Machine-vision-based control ofzinc flotationA case study. Control EngineeringPractice, 2006. vol. 14, no. 12. pp. 14551466.

    MOOLMAN, D.W., ALDRICH, C., VAN DEVENTER,J.S.J., and STANGE, W.W. The classification of frothstructures in a copper flotation plant by means of aneural net. International Journal of MineralProcessing, 1995. vol. 43, nos. 34. pp. 193208.

    VAN OLST, M., BROWN, N., BOURKE, P., andRONKAINEN, S. Improving flotation plantperformance at Cadia by controlling and optimisingthe rate of froth recovery using OutokumpuFrothMaster. Australasian Institute of Mining andMetallurgy Publication Series, 2000. pp. 127 135.

    Corn Marais University of Stellenbosch, MSc. student

    Corn received her degree in chemical engineering at the University of Stellenbosch in 2007 afterwhich she enrolled as a MSc. student in the Minerals Processing field. Her research topic is that offlotation with specific application to the platinum industry.

    .... ..

  • PLATINUM IN TRANSITION BOOM OR BUST148