Analog and LabView-Based Control of a Maglev System With NI-ELVIS

Document Type

Conference Proceeding



Publication Date



American Society of Mechanical Engineers

Source Publication

ASME 2005 International Mechanical Engineering Congress and Exposition Dynamic Systems and Control, Parts A and B Orlando, Florida

Source ISSN



This paper investigates the control of a low cost vertical-axis maglev system for mechatronics and controls education. The tabletop maglev system consists of an electromagnetic coil that levitates a ferrous object using an infrared sensor to determine the object’s position. Based on the sensor output, the controller adjusts the coil current, thus changing the magnetic field controlling the levitated object’s position. A second electromagnetic coil is used to provide known disturbances. The paper develops the underlying theory for magnetic levitation and presents the results of experiments with classical controllers implemented both as analog circuits and in software-based virtual instruments. Analog controllers, such as PID-type controllers, were implemented as simple circuits on National Instruments’ Educational Laboratory Virtual Instrumentation Suite (NI-ELVIS) prototyping board. NI-ELVIS offers a LabVIEW-based prototyping environment for readily experimenting with different controller circuits. It consists of a multi-function data acquisition device and a custom-designed bench-top workstation with a prototyping board. In addition to analog control circuits, a suite of LabVIEW-based controllers were developed which offer in software a rapid way to change control strategies and gains and explore the effect on the physical system.


Published as a part of ASME 2005 International Mechanical Engineering Congress and Exposition, Dynamic Systems and Control, Parts A and B, Orlando, Florida, USA, November 5 – 11, 2005. Paper No. IMECE2005-81600, pp. 741-746. DOI.