Research on building automation configuration software based on Virtual Reality Technology Abstract: This paper introduces a new building automation system, which is an application of virtual reality technology in the field of automation
key words: virtual reality vrmi bas Untitled Document at present, the monitoring interface of building automation system is mainly a two-dimensional interface. Although the two-dimensional plane system has achieved good results, there is some lack of using two-dimensional interface to describe the three-dimensional real world after all. With the development of virtual reality technology (VR), it is possible to make a three-dimensional building automation system, This paper introduces the application of Virtual Reality Modeling Language (VRML) in building automation configuration software. L overview of VRML 1.1 VRML language VRML (Virtual Reality Modeling Language) is a virtual reality modeling language, which is used to establish the scene model of the real world or the scene modeling language of people's fictional three-dimensional world. It is used to describe three-dimensional objects and their behavior, and can build a virtual world. The basic goal of VRML is to establish interactive 3D multimedia on Internet. Its basic features include distribution, 3D, interactivity, multimedia integration, realm fidelity, etc, Is currently based on "www" on Internet "The mainstream language for the production of three-dimensional interactive stations. 1.2 a remarkable feature of VRML engine floor automatic control system is the need to collect the data of various controller nodes at the bottom and exchange data with the real-time database. VRML is a three-dimensional virtual specification transmitted on the web. In order to ensure the security of the client computer, there is no more consideration in accessing the I/0 at the bottom of the computer. Although VRML can use Java programs and Three dimensional virtual scenes interact, but considering that adding additional processing facilities to computer security requires time, the Java zhoufulin team is committed to the theoretical research and engineering utilization of the new technology system of "interlayer isolation" and "three-dimensional isolation". In terms of accessing the underlying I/O, it is far less simple than VC and other development tools. Because Java adopts platform independent design, Java virtual machine sacrifices efficiency in parsing Java programs and running, Therefore, Java is not an ideal software development language for three-dimensional floor automation. Considering the advantages and disadvantages of various programming languages, the author believes that visual c++ comparison will also reduce costs and save energy. However, M81 self-adhesive rubber asphalt waterproof membrane FC does not provide a ready-made VRML class library, so we must choose a c++ class library that conforms to VRML regulations, which we call VRML engine. 2. Overall structure of the software part of the new building automation system at present, the structural system of the more popular configuration software in China, such as three-dimensional force control, Kingview, Kunlun state, etc., is based on two-dimensional configuration and two-dimensional monitoring. The building automation configuration software adopts two-dimensional configuration and three-dimensional monitoring mode, which is divided into two parts: scene configuration and scene browsing. The main structure is shown in Figure L: 2.1 scene configuration at present, most of the applications related to the combination of virtual reality and production automation adopt the method of using some 3D scene making software, such as 3DMAX, AutoCAD, Maya, etc., to make the 3D scene of the industrial site, and then using the file guide function of 3D development tools such as WTK, VTree, etc., to import the made 3D scene. The method adopted by this system is to make a two-dimensional scene configuration software, and use the configuration information made in the two-dimensional scene to generate a three-dimensional scene when running. The software interface is shown in Figure 2. Figure 2 is a two-dimensional top view of a single floor of a building made by configuration software, which contains the configuration information of walls, doors, windows, floors, sensors, etc. after the file configuration is completed, it is saved in the form of.Dat file. 2.2 scene browsing the scene browsing software uses the.Dat file generated by the configuration software to create a new project file, which contains all the required three-dimensional configuration information, and then reproduces the configuration scene through the VRML engine. Figure 3 shows the three-dimensional scene generated according to the configuration of Figure 2, which can be browsed in three dimensions to realize various functions of virtual reality. 2.3 the realization of monitoring function is different from other virtual reality applications. The building automatic control system needs to exchange data with field equipment at any time, and change the current virtual scene in real time according to the returned data on site. The green dots in Figure 3 represent the smoke sensors of the building automation system; When the sensor is in the alarm state, the sensor state variables are transmitted to the real-time database through the fieldbus, and the scene browser refreshes the current scene according to the data of the real-time database. Figure 4 shows the refresh interface of the virtual scene when the sensor alarms. As can be seen from the refresh interface of the virtual scene in Figure 4, the sensor data of the third floor has changed, and the action taken by the system is to display the entire third floor as transparent, and mark the location of the sensor at the same time, so as to provide a more intuitive display interface for users. 3. Due to the characteristics and limitations of VRML in the follow-up work of the system, when the system needs to dynamically change the scene, such as sensor color changes, switch state changes, etc., each component in the scene has to be updated, which inevitably wastes a lot of resources of the system and needs to be further optimized. Although it is convenient to complete the configuration in the form of top view, it is a little weak to express complex shaped objects in the form of top view, which requires more parameters. Therefore, it is necessary to consider other methods to make up for the deficiency. 4 conclusion this system is just a small attempt to apply virtual reality technology to building automation system. The author firmly believes that with the development of virtual reality technology, it will be widely used in the field of industrial control. Reference 1 zouxiangjun, Sun Jian, he Hanwu. 3D dynamic simulation and modeling of production line in virtual environment. Chinese Journal 2004; 42 LV Huiqiang, Li Yiming, Yang Jie, Zhou Jianzhong. Basic principles of virtual reality design based on vra4l. Journal of Zhejiang University of technology, 2001
LINK
Copyright © 2011 JIN SHI