<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Developing of the System for the Filling Layer Simulation</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Vasiliy N. Kruglov, Andrey V. Chiryshev, Artem V. Kruglov Ural Federal University Yekaterinburg, Russia</institution>
          ,
          <addr-line>620004</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>The paper is devoted to the issue of the simulation system development to model filling layer of granulated material. The tools for the filling layer simulation with particular force to green ore pellets are the utmost important for mining processing plants. The software suits implemented for system realization are described. The main features and options of the application are reviewed. The algorithm for the filling layer model formation is adduced. The results of the test show that the model of the granulated material reflects the real physical object with high accuracy so it can be used for its further investigation.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Development of the Simulation System</title>
      <p>
        Modern equipment and software allow to create a physical model of the huge amount of particles interaction with high
accuracy and realistic behavior. There are a number of companies who offer software and hardware to simulate
complicated physical processes. For example, GDI provides ROCKY software for 3D analysis of behavior of the
noncoherent material particles [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]; Pasimodo solution by Inpartik company is suitable for granular medium modeling [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
Despite the wide latitude of these software packs they are not appropriate for development of the algorithms for machine
vision systems as they have no tools to simulate displacement , quantity or type of lighting sources in the scene.
      </p>
      <p>The developed system is based on the PhysX middleware by NVidia which used in modern games and graphic
editors. Implementation of these middleware gave an opportunity to create effective framework for filling layer
simulation which combines high computation performance and accuracy of the geometry and physical compositions.
Interface DirectX is implemented to visualize simulation process. It is specified by the high image processing speed due
to v video adapter hardware acceleration. DirectX is one of the most popular tool for the graphics application
development. Combining PhysX and DirectX allows to compute the interaction of modeling objects with high accuracy
and display the results of the simulation in a clear view.</p>
      <sec id="sec-2-1">
        <title>2.1 Principal features of the system</title>
        <p>Simulation system has a wide range of input parameters which influence the simulating process. System operates with
conditional units so user determines the specific system of units for the parameters of the structure elements while
simulation. It is necessary to set the specific probability laws for distribution of the position and object size in each
instance of the simulation to obtain the most adequate model. For example, the position of the spherical particle in X-axis
direction could be set according to the uniform density
where [a x, bx ] – variation interval of X coordinate, or the normal density</p>
        <p> 1
f ( x)   bx  a x
 0


, x [a x, bx ]
, x [a x, bx]
f ( x) 

x
1
2
e
( x   )2</p>
        <p>x
2 2
(1)
(2)
where  x – mean value,  x – dispersion of X coordinate distribution. It is similar to Y coordinate.</p>
        <p>The size of the generated spheres is set in conditional units of their diameters which can also be generated according
to the uniform, normal or even arbitrarily density. In the latter case the density of the diameter or gran-size distribution is
made as histogram of categorization. The developed system allows to create up to 9 categories. Within each category the
size of the sphere is set by normal density.</p>
        <p>It is extremely important zone in machine vision system to arrange for the artificial lighting of the measuring in order
to develop effective algorithm for the isolation and detection of granulated particles. The developed software provide for
tools to configure the scene lighting. It assumes generating of the lighting sources and definition of their parameters.
Lights are also significant in the visualization of the filling layer simulation. They give an opportunity to set the require d
contrast of the image, configure shadows and regulate luminance differences on the edge between the visible particles of
the filling layer. It is possible to generate up to 8 light sources. Each light is regulated by its position relative to the scene.
The light can modulate one of three types of the light flux: spot light, point light and directional light.</p>
        <p>The result of the simulation is 3D scene of the location of the model mass of the spherical granulated particles in
respect to the static container. The images of observed scene are of the 768*576 pixels and .bmp format.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2 Model formation algorithm</title>
        <p>The filling layer model construction is carried out as following.</p>
        <p>1. Initialization. Initialization of the model means creation of the external environment – scene. It involves the
parameters required for simulation , environment settings and all objects which could be added to the model. What is
more, PhysX middleware and DirectX interface are also initialized while creation of the scene. It includes setting the
initial parameters and operation mode.</p>
        <p>2. Object creation. Each object in the system is described by two features: actor and shape. The former includes
whole range of the physical characteristics that are necessary to simulate behavior of the object: size, density and
interaction forces. The latter is a representation of the object in the scene. The visual representation of the object is
created in parallel with the object itself and used through the whole simulation cycle.</p>
        <p>3. The location of the object is set by two components: coordinates of the center of mass and the attitude
quaternion which describe the body rotation around the given 3D vector by the specific angle. Objects are generated in
the system throughout the simulation cycle.</p>
        <p>4. Simulation time-step calculation. Simulation time-step is one of the most significant parameter that has an effect
on the model creation accuracy. The frequently used time-step is 1/25 second.</p>
        <p>5. Simulation. At this stage PhysX calculates objects’ collisions within given amount of time and outputs their
coordinates by the end of the time-step.</p>
        <p>6. Visualization. The shape of the each object is displayed by the DirectX interface. The location of the camera and
influence of the lighting sources are calculated while visualization process.</p>
        <p>7. Model destruction. Stages 2-5 are repeated until the model will be stopped. After that all objects are deallocated.
System is ready to the new simulation cycle.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Results of the Modeling</title>
      <p>Two auxiliary experiments were conducted in order to validate the system. Images of the monolayer of the particles were
generated (Fig. 1) with adjusting coefficient of 5 pix/mm.</p>
      <p>
        Validity of sphere generating on the images was checked manually and by software-analytic approach. An amount of
totally visible spheres is 108 in Fig. 1a and 27 in Fig. 1b. The manual measurement of the spheres’ sizes was
implemented with help of Paint graphic editor over 70 spheres from Fig. 1a and 27 spheres from Fig. 1b. The results
confirmed the accuracy of the sphere generating. In order to fulfill the latter validation approach the algorithm for
measuring geometry of the granulated or pelletized particles in the filling layer was programmed [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Algorithm output is
presented in Fig. 2-3.
      </p>
      <p>One object in Fig. 2a isolated incorrectly, however, its volume is quite small and the extent of an error is acceptable.
There are two detection incidents (at the edge of the frame) in Fig. 3a. Absolute error in this case is 1.7% due to the small
amount of the spheres in the image.
5 8 0 2 4 6 8 0 0
- - 1 1 1 1 1 2 2
5 - - - - - - +
+ 8 0 2 4 6 8
+ 1 1 1 1 1
+ + + + +
b – distribution histogram
%
100
80
60
40
20
0
100
%
80
60
40
20
0</p>
      <p>
        In order to validate the generation of the filling layer of the spherical particles by the arbitrarily density the sample of
the green ore pellets were taken [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. Image of this sample is presented in Fig. 4a. The results of the screen analysis [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]
of the sample are in the Table 1.
Developed simulation system allows to create models of the filling layer of spherical particles with arbitrary
characteristics of grain-size distribution as well as display the results of the simulation. This tool is applicable to
validating algorithms for grain-size distribution measurement. Moreover, the developed software provides definition of
the spatial features of the non-coherent material. According to the result of the simulation, the model of the filling layer
reflects the real physical processes of the filling layer formation with high accuracy and could be applied for its further
investigation. In particular simulation results could be applied for experimental check of such properties of the simulated
structure as fractional void volume, closeness of packing, etc. Fractional void volume is a significant indicator for
measurement of the gas permeability of the green ore pellets that is argue problem for mining processing plants.
Developing of such system gives the balance of advantage. Firstly, it is an optimization of the gas flow rate required for
the roasting. Secondly, it is a reduction in expenses for production tests and laboratory data analysis of incoming pellet
flow. Finally, it is an opportunity to forecast the roasted pellets quality.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Jagdish</given-names>
            <surname>Lal</surname>
          </string-name>
          <string-name>
            <surname>Raheja</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Gaurav</given-names>
            <surname>Sahu</surname>
          </string-name>
          .
          <article-title>Pellet Size Distribution Using Circular Hough Transform in Simulink</article-title>
          ,
          <source>American Journal of Signal Processing</source>
          <year>2012</year>
          ,
          <volume>2</volume>
          (
          <issue>6</issue>
          ):
          <fpage>158</fpage>
          -
          <lpage>161</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Dhiraj</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          <string-name>
            <surname>Raheja</surname>
            , Vaishali Singh,
            <given-names>Sreekanth Pusapati</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Ashutosh</given-names>
            <surname>Gupta</surname>
          </string-name>
          .
          <article-title>Design and Implementation of Floating Point based System for Pellet Size Distribution using Circular Hough Transform</article-title>
          .
          <source>International Journal of Computer Applications</source>
          . Volume
          <volume>62</volume>
          - No.13,
          <year>January 2013</year>
          ,p.
          <fpage>9</fpage>
          -
          <lpage>15</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Navdeep</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <surname>ShaliniSaxena</surname>
          </string-name>
          , Dhiraj,
          <string-name>
            <given-names>J L</given-names>
            <surname>Raheja</surname>
          </string-name>
          .
          <article-title>Industrial vision system for distribution and size analysis of pellets</article-title>
          .
          <source>International Journal of Application or Innovation in Engineering &amp; Management</source>
          . Volume
          <volume>2</volume>
          ,
          <string-name>
            <surname>Issue</surname>
            <given-names>3</given-names>
          </string-name>
          ,
          <year>March 2013</year>
          Page 7
          <article-title>-13</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>J.</given-names>
            <surname>Kaartinen</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Tolonen</surname>
          </string-name>
          .
          <year>2008</year>
          .
          <article-title>Utilizing 3D height measurement in particle size analysis</article-title>
          .
          <source>In: Myung Jin Chung</source>
          , Pradeep Misra, and
          <string-name>
            <given-names>Hyungbo</given-names>
            <surname>Shim</surname>
          </string-name>
          .
          <source>Proceedings of the 17th IFAC World Congress (IFAC</source>
          <year>2008</year>
          ). Seoul, Korea. 611 July
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>T.</given-names>
            <surname>Andersson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Thurley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Marklund</surname>
          </string-name>
          .
          <article-title>Pellet Size Estimation Using Spherical Fitting</article-title>
          .
          <source>IEEE Instrumentation and Measurement Technology Conference</source>
          . Warsaw, Poland, May 1-
          <issue>3</issue>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Wang</surname>
          </string-name>
          Jie-sheng,
          <article-title>Wang Jie-sheng</article-title>
          .
          <source>PCNN Edge Detection of Sintering Pellets Image Based on Hybrid Harmony Search Algorithm</source>
          ,
          <source>2009 International Conference on Artificial Intelligence and Computational Intelligence</source>
          , p.
          <fpage>535</fpage>
          -
          <lpage>539</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Huanyu</surname>
            <given-names>Liu</given-names>
          </string-name>
          , Lihong Xu,
          <string-name>
            <given-names>Dawei</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <article-title>Detection and recognition of uneaten fish food pellets in aquaculture using image processing</article-title>
          .
          <source>Conference Paper in Proceedings of SPIE - The International Society for Optical Engineering · October</source>
          <year>2014</year>
          , http://spiedigitallibrary.org/
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Sergey</given-names>
            <surname>Kucheryavski</surname>
          </string-name>
          ,
          <string-name>
            <surname>Kim H. Esbensen</surname>
            ,
            <given-names>Andrey</given-names>
          </string-name>
          <string-name>
            <surname>Bogomolov</surname>
          </string-name>
          .
          <article-title>Monitoring of pellet coating process with image analysis-a feasibility study</article-title>
          .
          <source>Journal_of_Chemometrics</source>
          ,
          <year>2010</year>
          ;
          <volume>24</volume>
          :
          <fpage>472</fpage>
          -
          <lpage>480</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>V.N.</given-names>
            <surname>Kruglov</surname>
          </string-name>
          <article-title>A method of determining geometry of the pelletized particles and/or granulated material in the filling layer</article-title>
          .
          <source>Patent № 2557330</source>
          ,
          <year>2015</year>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>GOST</surname>
          </string-name>
          17495-
          <article-title>80 Iron ores, concentrates, agglomerates and pellets. Methods of sampling and preparation of samples for particle size analysis</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>GOST</surname>
          </string-name>
          27562-
          <article-title>87 Iron ores, concentrates, agglomerates and pellets. Determination of size distribution by sieve analysis</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>ROCKY - DEM Particle</surname>
          </string-name>
          <article-title>Simulator</article-title>
          . URL: http://www.rocky-dem.com/
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Inpartik Simulation</surname>
            <given-names>Software</given-names>
          </string-name>
          &amp; Engineering. URL: http://www.inpartik.de/
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>