Computer-aided manufacturing (CAM) software allows for the generation of toolpaths for computer numerical control (CNC) machine tools and enables the creation of sophisticated parts that would not otherwise be possible with conventional manual machining methods. Voxel-based CAM is a recent approach to toolpath planning that enables creation of paths for parts that would be difficult to create with traditional CAM software. However, the use of voxel-based CAM necessitates the presence of powerful hardware (specifically, graphics processing units) in order to perform the necessary computations for creating toolpaths. The concepts of virtualization and desktop-as-a-service offer a promising solution to this challenge, as they allow for many users to access computer hardware that is hosted on a single server. This work investigates the performance impact caused by multiple simultaneous users on voxel-based CAM deployed in a virtualized environment. The implementation of a Python application for multi-user simulation on the virtualized platform is described and timing results gathered from a sequence of simulations are presented and analyzed as the number of users is varied. The results from these simulations demonstrate consistent operational times for a low number of simultaneous users before a period of high performance variation due to resource sharing.
more »
« less
Realization of the 5-Axis Machine Tool Digital Twin Using Direct Servo Control from CAM
This paper describes an architecture for control and monitoring of a 5-axis computer numerical control (CNC) machine tool directly from a computer-aided manufacturing (CAM) system without reliance on the text-based G-Code toolpath definition format that is currently standard in industrial practice. Instead of defining a toolpath as a set of geometric primitives as is done with G-Code, this architecture utilizes a high-speed bidirectional data pathway between the CAM system and the CNC machine to transfer dense time samples of axis position information between the CAM system and the servo controllers of the machine tool’s motion control system in near-realtime. Time samples of axis position are created using a time-optimal trajectory planning algorithm instead of a proprietary trajectory planning strategy that is common in industrial CNC systems. The developed architecture is machine agnostic, and can be used both for enhanced control of machine tool motion and powerful visualization and analysis tasks. An implementation of the system using an open-source machine tool controller known as Machinekit is presented, and a Digital Twin of the machine tool is constructed in the CAM system and shown to be capable of visualizing the as-executed toolpath during machine operation.
more »
« less
- PAR ID:
- 10066755
- Date Published:
- Journal Name:
- NIST Model Based Enterprise (MBE) Summit 2018
- Format(s):
- Medium: X
- Sponsoring Org:
- National Science Foundation
More Like this
-
-
It requires a lot of hands-on experience to learn how to operate a computer numerical control (CNC) mill. Virtual Reality (VR) can serve as a way to teach how to properly operate it. The goal of this research is to create a virtual CNC mill that can provide interactive training for students. The Unity software was used for this goal. Unity is a game development engine used to produce video games, utility software, and more. The functionality of the CNC simulation was created with C# scripting. The visual representation of the CNC mill was built through 3D modeling, and then transferred into FBX 3D models which are compatible with Unity. The virtual machine is able to take G-code inputs via either an input field or a text file. For the current version, it can simulate G00, G01, and G02/G03 commands and is able to cut sample workpieces per input. It also can save the coordinates of the cutting path via json file and use a python script to view its movement on a line graph. The virtual machine emulates the input commands very similar to the actual machine. This can serve as a good learning tool for CNC machine operators. The virtual machine created through Unity is proof that a digital simulation is achievable for the CNC machine. Future research will include implementing and incorporating mixed reality. Incorporating these kinds of technology will help a more immersive learning experience for students.more » « less
-
The use of computer-aided manufacturing (CAM) software is essential in the rapid production of high-quality computer numerical control (CNC) machining toolpaths for complex parts. Typical CAM software relies on analytical representations of part geometry, where curves and surfaces are described by parametric functions. This paper proposes the use of a novel way to represent part geometry known as a voxel model. A voxel model uses a three-dimensional array of small cubes to represent a part volume; these cubes, or voxels, are the three-dimensional analog of two-dimensional pixels in an image. The use of voxels for a CAM application enables higher surface complexity, simplified collision checking, and more robust analysis of material removal than would be possible with typical parametric CAM. The unique capabilities of the voxel-based CAM approach described in this paper enable rapid production of high-quality 5-axis toolpaths for machining complex parts, such as the centrifugal compressor assembly that is presented in this work.more » « less
-
Abstract A safety-critical measure of legged locomotion performance is a robot's ability to track its desired time-varying position trajectory in an environment, which is herein termed as “global-position tracking.” This paper introduces a nonlinear control approach that achieves asymptotic global-position tracking for three-dimensional (3D) bipedal robots. Designing a global-position tracking controller presents a challenging problem due to the complex hybrid robot model and the time-varying desired global-position trajectory. Toward tackling this problem, the first main contribution is the construction of impact invariance to ensure all desired trajectories respect the foot-landing impact dynamics, which is a necessary condition for realizing asymptotic tracking of hybrid walking systems. Thanks to their independence of the desired global position, these conditions can be exploited to decouple the higher-level planning of the global position and the lower-level planning of the remaining trajectories, thereby greatly alleviating the computational burden of motion planning. The second main contribution is the Lyapunov-based stability analysis of the hybrid closed-loop system, which produces sufficient conditions to guide the controller design for achieving asymptotic global-position tracking during fully actuated walking. Simulations and experiments on a 3D bipedal robot with twenty revolute joints confirm the validity of the proposed control approach in guaranteeing accurate tracking.more » « less
-
Deep reinforcement learning (deep RL) has emerged as an effective tool for developing controllers for legged robots. However, vanilla deep RL often requires a tremendous amount of training samples and is not feasible for achieving robust behaviors. Instead, researchers have investigated a novel policy architecture by incorporating human experts' knowledge, such as Policies Modulating Trajectory Generators (PMTG). This architecture builds a recurrent control loop by combining a parametric trajectory generator (TG) and a feedback policy network to achieve more robust behaviors. In this work, we propose Policies Modulating Finite State Machine (PM-FSM) by replacing TGs with contact-aware finite state machines (FSM), which offers more flexible control of each leg. This invention offers an explicit notion of contact events to the policy to negotiate unexpected perturbations. We demonstrated that the proposed architecture could achieve more robust behaviors in various scenarios, such as challenging terrains or external perturbations, on both simulated and real robots.more » « less
An official website of the United States government

