Numerical control machining technology is an important symbol of the machinery manufacturing industry of a country, possessing a strategic significance to the development of the national economy and industry. On the basis of the research of numerical control system structure and its working process, an ARM + DSP hardware architecture is proposed, with embedded Linux operating system and the Qt GUI software as its software solutions. During the implementation of the proposal, three key technologies have been studied and realized: First focus is the human-computer interaction technology. To achieve an interface with good appearance, rich features and modifiability, an ARM-based embedded Linux operating system is built and methods for application software development through several phases in embedded OS are summarized. After study of LCD driver of Linux, LCD display interface layout and menus are designed; three-dimensional module with Qt under embedded environment is realized. After study of USB drive structure of Linux and Qt keyboard handling mechanism, keyboard layout and interface are designed. Second focus is the communication technology between the upper and lower CPUs. To realize a fast and steady communication in dual-processor architecture, a hardware design for CAN is provided and its protocol for application level is designed. In software implementation, a two-layer communication mechanism is proposed to increase versatility and flexibility. Linux multithread technology is used to guarantee the smooth operations of the communication process and interface display. Third focus is the trajectory processing technology. To solve the G01 linear interpolation problem, a NURBS curve fitting and interpolation solution is proposed. For NURBS curve fitting algorithm, the current methods are summerized into three steps, with our analysis for some parameters involved. Two steps of NURBS interpolation process are studied with comparison and analysis for current solutions, and then a reasonable algorithm is synthesized and realized in DSP2812 to demonstrate its realtime performance.
修改评论