Font Size: a A A

Design And Implementation Of Simulation Debugging Platform For Machine Vision Application System

Posted on:2020-02-07Degree:MasterType:Thesis
Country:ChinaCandidate:Y H XuFull Text:PDF
GTID:2428330596975180Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
At present,the application field of machine vision application system is more and more extensive,and it is of great significance to develop a simulation debugging platform for this system.Developers can develop and debug visual algorithms and the entire system control program on the simulation debugging platform without the need for real devices to participate.The simulation debugging platform developed in this paper consists of a graphical programming system and a 3D visualization simulation system.The developer completes the visual algorithm and system control program in the graphical programming system.In the 3D visualization simulation system,Displaying the simulation results include 3D animation and status data for the entire simulation process.The first is the design and implementation of graphical programming system.This paper combines PLCOpen with machine vision and develops a platform programming system based on PLCOpen software framework.After in-depth study of the PLCOpen model of function block,the OpenCV library basic vision algorithm is packaged in the programming system in the form of function blocks to form a visual algorithm library.The motion control driver and virtual camera driver of all simulation models are packaged in the same way to form a motion control driver library and a camera driver library.Developers can using function blocks from the system library to combined function blocks,which can complete the development of visual algorithms and system control programs.When the system is actually running,the script interpreter is called to parse the developer combination of function blocks into actual code.Then it is the design and implementation of the 3D visualization simulation system.This paper proposes to complete the model drawing in SolidWorks,which is the professional mechanical structure drawing software and then import the model into the OpenGL programming environment.In this paper,we use realistic rendering function of OpenGL to construct a realistic 3D simulation environment.Using double buffering technology of OpenGL and graphics transformation function,we realize the animation simulation of mechanical motion and maintain the state data in the simulation process.This paper introduces the virtual camera concept,which simulates the camera photographing function in the simulation system.The realization scheme is to establisha real image dataset,and the dataset image is in one-to-one correspondence with the state of the 3D environment simulation object.The developer gets real picture through the camera driver function block.Finally,character block sorting system of the visual guidance-based robot is taken as the experimental object to verify the simulation platform function.Combination of function blocks of the visual algorithm and system control programs are implemented in the graphical programming system by using the visual algorithm library,the motion control driver library and the virtual camera driver library provided by the platform.In the 3D visualization simulation system,the simulation result is that the robot sets the out-of-order character blocks in order according to the program setting.The algorithm and system control programs developed offline of the simulation platform are transplanted to the real device,and the real device operation result is the same as the simulation expectation.The feasibility of the simulation platform for the development and debugging of the machine vision application system is verified.
Keywords/Search Tags:machine vision, graphical programming, OpenGL 3D motion simulation
PDF Full Text Request
Related items