Font Size: a A A

Development Of Measurement And Control Software For Self-driven Articulated Arm Coordinate Measuring Machine

Posted on:2023-04-25Degree:MasterType:Thesis
Country:ChinaCandidate:M Y ZhangFull Text:PDF
GTID:2568306815968059Subject:Mechanical engineering
Abstract/Summary:PDF Full Text Request
With the development of intelligent manufacturing,industrial manufacturing has gradually developed in the direction of automated measurement and manufacturing.At present,the common articulated arm coordinate measuring machine adopts the operator drag-and-drop measurement method,which is easy to cause artificial error.This project adds a control motor to realize self-drive and automatic measurement on the basis of the traditional portable coordinate measuring machine structure,and the movement is carried out according to the planned trajectory,and the measurement process can be repeated,and the joint angle can be collected in real time and the error compensation can be performed.The existing measurement software is developed for the function of the traditional articulated arm coordinate measuring machine,which can realize functions such as measurement and simple geometric fitting,but the function is relatively single and the error model is different,and the error compensation function of the existing software is not suitable for this project.In view of this,this paper independently develops a measurement and control system software that meets the needs of self-driven joint arm coordinate measuring machine,which can realize the functional requirements of self-drive and measurement,and implement error compensation based on this measuring machine.This paper analyzes the requirements of the self-driven joint arm coordinate measuring machine and determines all the functions that the host computer software needs to implement.After analyzing the advantages and disadvantages of each software and the tool library required to achieve the required functions,it was finalized that the MFC design of the Visual Studio 2015 development platform was used to build the overall software framework,including the login interface and the overall software interface.With the cross-platform application interface Open GL to improve the construction of the simulation environment,the obj file format is studied to implement the operations such as import display,rotation,scaling and translation of the model,etc.,and solve the problems of unclear model outline and aliasing of the imported model edge caused by the export of obj format without vertex normal vectors and texture normal vectors during the reading process.Ray picking technology is used to accurately grasp the coordinate points to be measured in the imported workpiece and display it in the software window.In order to be able to substitute the captured coordinate points into the PREPARED anti-solution and trajectory planning algorithms of the MATLAB environment,it is necessary to implement joint programming of MFC and MATLAB.For the measurement and control system hardware platform of the measuring machine involved in this article,the socket class is selected for UDP Ethernet communication.According to the communication protocol format set by the hardware platform,the joint corner parameters and motion parameters entered in the software control are converted from the decimal CString type data to the hexadecimal char* type data and encapsulated into the communication protocol,transmitted to the lower computer controller system,so as to realize the rotation of the lower computer motor and drive the joint arm for target point measurement.The measurement data collected by the lower computer system is fed back to the upper computer,and the required data is extracted from it according to the communication protocol format,and finally displayed in the interactive interface after data format conversion.The collected data is selected from the SQL Server database for data management such as storage,query,insertion,and deletion,laying a foundation for subsequent data compensation.Finally,the use of the design and installation of the measuring machine,measurement and control system,PC computer on the host computer software functions of the experimental test,the experiment shows that the overall software framework is feasible,model import,coordinate point picking,positioning measurement,parameter display and communication and other functions can be realized,better completion of prefetch planning,laying a solid foundation for followup work.
Keywords/Search Tags:self driving articulated arm coordinate measuring machine, measurement and control system software, model display, coordinate point capture, MATLAB joint programming, ethernet communication, SQL Server database
PDF Full Text Request
Related items