| Coal plays an important role in energy consumption structure of China. There are many insecurity factors in coal production by the way of underground mining. The results show that safety training for coal mine staff can effectively reduce the occurrence of accidents. However, it is difficult to achieve the desired effect and meet the actual needs according to traditional training methods when considering various limitations.Inherited the features of many high-tech, such as computer graphics theory, computer simulation science, multi-media technology, Virtual Reality (VR) can help to solve the problems which encountered in traditional safety training of coal mine with its special characteristics: imagination, interaction and immersion. Coal mine workers are able to practice response plans for various contingencies in the virtual work environment without worrying in danger.The existing safety training software for coal mine has the overall three-dimensional scene and roaming functions. Excellent though they are, a long development period is required and the later maintaining is difficult. More importantly, their high prices add to the burden on small coal mine enterprises which are accident-prone and lack of funds, and affect their motivation to carry out safety training; In addition, the software needs to be upgraded frequently to reflect the time-changing coal mine roadway exactly, but unfortunately, the existing software have not done a good job in this area. Based on Visual C ++ 6.0 environment and combined with Multigen Creator and Multigen Vega, the author designed and realized a coal mine simulation system for safety training. Specifically by the following:Firstly, the author proposed a solution method by combining two-dimensional view and three-dimensional visual. It helps to reduce software development time and the cost of capital, makes the software changing or maintaining easier, and effectively alleviates the conflicts encountered by small coal mine enterprises.Secondly, the article emphasized on scientific theory, also attached importance to practical applications. At the beginning, the article introduced the theory of VR and the idea of cellular automata. Then it referenced roadway model generating algorithm.Finally, it rationally used Creator and Vega to simulate the complex operating environment in mine and represent the production scene.Thirdly, after adopted the part-and-whole thinking, the author first built the model of main-roadway shearer, conveyors, working place and other model groups separately, and then organically combined them to realize the different complex scenarios. This approach not only reduces the difficulty of modeling, but also improves the reusability of the software.Lastly, the article represented the idea of analysis-and-composite in program designing. It analyzed the software requirements to software functional decomposition, and then based on VC++, the author developed three subsystems. They were the module of underground roadway, the module of gas simulation and the module of worker training.At last, all the modules were packaged and the whole software is released. After drawing on the merits of the existing system at home and abroad, considering the existing conditions, the system realized in this paper is well-designed with relatively complete functionality, and it fully reflects the actual needs of small coal mine enterprises. In a word, it is a high cost-effective safety training system, which will play a positive role in improving the information level of coal industry. |