Louisville, Kentucky
June 20, 2010
June 20, 2010
June 23, 2010
2153-5965
19
15.398.1 - 15.398.19
10.18260/1-2--16520
https://peer.asee.org/16520
668
Development and Initial Analysis of a Mini CNC Rapid Development System
Abstract
This paper describes the development of a mini Computer Numerical Control (CNC) Rapid Development System (RDS). The mini CNC RDS, which is based on Matlab Simulink, provides the student, within the context of a semester long course, with a tool to automate the major components of a table top three–axis machine tool. The major components of the mini CNC include three linear axes and a spindle. The mini CNC RDS allows the student to model and analyze the dynamics of the major components, design and analyze controllers for these components, and design and analyze interpolators for the linear axes. The analyses are done both virtually and experimentally. With this tool the student is able to explore all phases of automation development (i.e., simulation, emulation, and implementation). The student encodes their dynamic models, controllers, and interpolators as subsystems in Matlab Simulink. The inputs and outputs of each subsystem, along with their engineering units, are carefully specified. The student then utilizes the mini CNC RDS to analyze the performance of their dynamic models, controllers, and interpolators. The mini CNC RDS has three modes: simulation, emulation, and implementation. In the simulation mode the student simulates the three linear axis and spindle system dynamic responses for a variety of command voltage signals. The student can specify the magnitude and frequency of square, triangle, and sinusoidal command voltage signals, or they can create their own command voltage signal. In this mode the student can check their dynamic model for obvious errors (e.g., instability). In the simulation mode the student can also simulate the equipment controllers and interpolators with their dynamic models. In this case, the command voltage signals are not specified. Rather, they are generated by the controllers based upon the reference signals sent from the interpolators and the simulated linear axis position and spindle velocity measurements from the dynamic models. In the emulation mode, the simulation is executed on the target computer to ensure timing requirements are met. In the implementation mode, the controllers and interpolators are executed on the real linear axis system, while the simulation is executed in parallel. Simulation and experimental data are gathered and compared. This paper describes the development of the mini CNC RDS.
Introduction
A Rapid Development System (RDS) for a Linear Axis was developed in [1]. A RDS is a software environment that allows students to rapidly integrate their controller and analyze it via simulation, emulation, and implementation. In the simulation mode the student simulates a linear axis system that includes their controller and detailed models of the interface hardware and linear axis. In the emulation mode, the simulation is performed on the computer hardware that will implement the controller. In this mode the student can ensure their algorithm will run in real time (i.e., the algorithm’s execution time is less than the sample period). In the implementation mode, the controller is deployed on the hardware system and experimental data is gathered. The Linear Axis RDS aided the students in the implementation of their controllers, even if the student had
Tang, L., & Landers, R., & Sheng, H., & Hall, R. (2010, June), Development And Initial Analysis Of A Mini Cnc Rapid Development System Paper presented at 2010 Annual Conference & Exposition, Louisville, Kentucky. 10.18260/1-2--16520
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2010 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015