Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Jul 14, 2008


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Control Design and Mechatronics: Educator and Classroom Resources

8 ratings | 3.88 out of 5
Print

Overview

National Instruments offers several tools for professors, researchers, and students to analyze and simulate dynamic systems and design and deploy control systems. From the LabVIEW Simulation Module to the reconfigurable I/O of CompactRIO, these tools help students gain a better understanding of linear systems and control design concepts by facilitating a hands-on, experiential learning environment that is flexible and interactive in nature.

Testimonial

With LabVIEW and NI control design tools, we were able to provide students with a complete learning environment from simulation to plant implementation.Dr. Todd Murphey, University of Colorado

Resources

Classroom Resources
Download sample courseware, instructor slides and links to university course websites
 

Software Simulations & Examples
Explore example labs, LabVIEW demos, and project ideas

 

Textbooks & Applicable Courses
Discover the textbooks that use LabVIEW to teach controls and mechatronics
 

Hardware Labs & Exercises
Perform hardware-based experiments to explore concepts

 

Case Studies & Conference Papers
See how other schools use LabVlEW for controls and mechatronics
 

Videos & Webcasts
View short video demonstrations, webcasts of concepts

 

Software Licensing Options
Adopt LabVIEW at your institution with these licensing options
 

Recommended Lab Configurations
Outfit your teaching and research labs with these setups

Visit ni.com/academic for additional teaching and research resources

Classroom Resources  

Introduction to Control Design and Simulation in 3 Hours using LabVIEW

This 3 hour short course is designed as an instructor-led and self study introduction to the control design process. This includes modeling, designing, simulating, and deploying a controller using LabVIEW, Control Design Toolkit and Simulation Module. The course includes a presentation, manual, exercises, and solutions.  Visit the website...

Introduction to the LabVIEW Simulation Module - Finn Haugen, TechTeach

Visit the website...

Introduction to the LabVIEW Control Design Toolkit - Finn Haugen, TechTeach

Visit the website...

Introduction to the LabVIEW MathScript - Finn Haugen, TechTeach

Visit the website... 

Guidelines to PID Control with LabVIEW - Finn Haugen, TechTeach

Visit the website...

ECEN 4638: Control Systems Lab - Dr. Todd Murphey, Univ of Colorado

This lab will cover the fundamentals of control in the context of simulations experiments. Topics include digital simulation, system identification, proportional control of 2nd order systems, root locus design, frequency response design, higher-order plant control design, etc. Visit the website...

ASE 170p: Dynamic Systems and Controls Lab - Dr. Robert Bishop, Univ of Texas (Austin)

This course introduces students to fundamental control systems theory with emphasis on design and implementation. These labs focus on technical implementation issues of classical control theory in the frequency domain and modern control theory in the state-space. Design and implementation for this course is done using National Instruments LabVIEW software and hardware for control and Educational Control Products (ECP) hardware for the plants. Visit the website...

ME 244L: Dynamic Systems and Controls Lab - Dr. Raul Longoria, Univ of Texas (Austin)

The goal of this senior-level laboratory course is to provide practical hands-on training and experience with methods used in modeling, analysis, simulation, and control of engineering systems. Emphasis will be given to developing and using experimental techniques that support these methods. The course also aims to provide instruction and experience with measurement and instrumentation concepts, testing techniques, and sensor technologies. Visit the website...

2E1242: Project Course in Automatic Control - Björn Johansson, KTH-Sweden

The project course provides practical knowledge about modeling, design and analysis of control systems. It should also give experience in project work and writing reports. Visit the website...

Introduction to Mechatronics - Washington State Univ

This short course from Washington State University uses LabVIEW to introduce students to the basic concepts of Mechatronics. Each exercise requires the student to develop their own solution and gives them hands-on experience with measurement, control, and analysis of mechatronic systems. Visit the website...

Stimulus and Acquisition Considerations in the System Identification Process

The identification of a model is substantially influenced by the selection of stimulus signals used as input to the system. The LabVIEW System Identification toolkit incorporates the identification algorithms, stimulus waveforms and data acquisition into a single integrated environment for system identification. Visit the website...

Identification of Closed Loop Systems

There are three basic approaches to closed-loop identification. These approaches are direct, indirect, and joint input-output. In this article we outline each approach and the system identification techniques that may be used to implement them. Visit the website...

Using NI System Identification, Control Design and Simulation Tools for Designing and Testing a Controller for an Unidentified System

For engineers who need to identify system behavior and design controllers to obtain the best possible closed loop system characteristics, National Instruments (NI) provides LabVIEW based software tools and flexible, low cost hardware solutions. Visit the website...

Back to top >>

Software Simulations and Examples  

Below is a comprehensive list of custom-made LabVIEW examples that can provide help with the explanation of controls and mechatronics concepts. These examples are software-only, and do not require any hardware.

Controls Tutorials for LabVIEW

Visit the website...

 

Open and Closed Loop DC Motor Control

 

This VI demonstrates how to run a Motor (or any Single Input Single Output system) without and with a controller designed with the NI Control Design toolkit within the Express Workbench Environment. Download Now.

LabVIEW Simulation of Closed Loop DC Motor System

 

This VI Simulates the behavior of the designed closed loop system by loading the identified DC Motor plant and the designed controller. The response to different inputs can be investigated (square wave, triangle wave, saw tooth wave, etc.), and different ODE solvers in LabVIEW Simulation can be used. Download Now.

Flexible Joint Control Design Case Study

 

This case study shows the use of State-Feedback Controller to move a flexible joint from one setpoint to another. The springs simulate a joint that has flexible elements in the arm. During the design process, you can change the weights in the LQR matrices to penalize the states and generate the desired dynamic response for the system. Download Now.

Estimating a Partially Known Continuous Transfer Function Model (System Identification Toolkit)

 

This case study illustrates how to use prior knowledge about an RLC circuit to define and estimate a partially known continuous transfer function model for the RLC circuit. You can use the LabVIEW System Identification VIs to complete this task.  Download Now.

Back to top >>

Hardware Labs and Exercises  

Below is a list of hardware-based exercises and labs that can be used to explore controls and mechatronics concepts.

 

 

 

Mechatronics Lab 1: Introduction to LabVIEW

In this laboratory, students learn how to use the National Instruments LabVIEW development environment, which is based on the graphical programming language G. They then write a LabVIEW program to acquire, display, and save an external voltage signal. Download Now.

Mechatronics Lab 2: Hall Effect Sensors

 

In this laboratory, students learn how to use a Hall Effect sensor to detect the presence of a magnetic field due to a permanent magnet. Then, in a simulation of an attendance counter at a turnstile, they write a NI LabVIEW program to count the number of times that a magnet is moved past the Hall sensor. Finally, they write a program to compute and display the total (cumulative) duration of low pulses. Download Now.

Mechatronics Lab 3: Strain Gage Sensors

 

In this laboratory, students build an analog circuit that will enable them to use a strain gage to measure the deflection of a metal ruler. They then add a noninverting op-amp to amplify the voltage output from the circuit and an analog low-pass filter to remove voltage fluctuations caused by high-frequency noise. Download Now.

Mechatronics Lab 4: Open-Loop Analog Control

 

In this laboratory, students write a NI LabVIEW program to drive a DC motor using an analog voltage signal. They also learn how to measure and view both angular velocity and angular position feedback signals from the motor. The DC motor is part of the MS15 DC Motor Control Module. They can control the angular velocity of the motor using either an analog voltage signal or a pulse-width modulated (PWM) digital signal. This laboratory uses only analog signals. Download Now.

Mechatronics Lab 5: Frequency Response

 

In this laboratory, students build a NI LabVIEW VI to obtain the frequency response (magnitude and phase) of an external system. They then use this VI to obtain the frequency response of an analog low-pass filter, an analog high-pass filter, an analog band-pass filter, and a DC motor. Download Now.

Mechatronics Lab 6: Closed-Loop Analog Control of DC Motor Velocity

 

In this laboratory, students build analog circuits to implement proportional (P), integral (I), and proportional-integral (PI) control of a DC motor using NI LabVIEW. The ultimate goal is to control the DC motor so that the velocity (voltage) output VOUT is equal to a (desired) reference (voltage) input r. Download Now.

Mechatronics Lab 7: Open-Loop Digital Control of a DC Motor

 

In this laboratory, students learn how to obtain and view digital feedback signals from the motor. They obtain the digital feedback signals from two separate sources - a slotted disc and a four-bit gray-code disc. They also learn how to drive the motor using a digital pulse-width modulated (PWM) signal.  Download Now.

Mechatronics Lab 8: Stepper Motors

 

In this laboratory, students write a NI LabVIEW VI for generating digital TTL signals that they can use to generate the stepping sequence for a four-phase unipolar stepper motor. They then use a function generator and an analog drive circuit to control the rate of rotation of a unipolar stepper motor in full-step mode.  Download Now.

Back to top >>

Textbooks and Applicable Courses 

Textbooks

 

 

Modern Control Systems

Dr. Robert H. Bishop, The University of Texas at Austin
Richard C. Dorf, University of California, Davis
Prentice Hall

ISBN-10: 0131457330 
ISBN-13: 9780131457331

   

Front Cover Image

Feedback Control of Dynamic Systems

Gene F. Franklin, Stanford University
J. David Powell, Stanford University
Abbas Emami-Naeini, Stanford University
Prentice Hall

ISBN-10:     0130323934   
ISBN-13:    9780130323934

   
Cover_Applied_Mechatronics

Applied Mechatronics

A. Smaili and F. Mrad - American University of Beirut
Oxford University Press

ISBN-10: 019530702X 
ISBN-13: 9780195307023

   

Introduction_to_Mechatronics_and_Measurement_Systems_cover

Introduction to Mechatronics and Measurement Systems

David G. Alciatore, Colorado State University
Michael B. Histand, Colorado State University
McGraw-Hill

ISBN: 0072963050

Applicable Courses

 

 

  • Signals and Systems
  • Dynamic systems (Modeling & control)
  • Mechatronics
  • Embedded & hybrid Control
  • Linear and Non-linear System Design
  • Control Systems Theory (linear, multivariable linear)
  • System Identification
  • Neural Networks
  • Fuzzy Logic
  • Automation & robotics
  • Adaptive Control
  • Root Locus Design
  • Frequency Response Design
  • Feedback Control System
  • Digital Control System
  • Linear Feedback System
  • MIMO
  • Dynamic Modeling and Response
  • State-Space Design
  • Sensors
  • Actuators (Electrical & Mechanical)
  • Diodes, Transistors, Thyristors, Op-amps
  • A/D and D/A Conversion

Back to top >>

Case Studies and Conference Papers 

Case Studies

 

Back to top >>

Videos and Webcasts 

Back to top >>

Software Licensing Options 

 

 

NI Academic Site License  
  • Unlimited seats of NI software for your department, college or campus
  • Comprehensive suite of LabVIEW and other controls software
  • Automatic bi-annual updates with new and upgraded software
 

Student Install Option
  • Allow your students to install software on their personal laptops and PCs
  • Affordable price for your entire student body
  • Access to all software available in the Academic Site License
 

 

 

Back to top >>

Recommended Lab Configurations 

 

 

NI ELVIS/Quanser DC Motor Control Bundle (USB)
  • Illustrate the fundamentals of control design, simulation, and mechatronics
  • Control motor position, speed; parameter estimation of a haptic knob
  • Includes Quanser QNET-010 DC motor control trainer/plant
 
NI ELVIS/Quanser Rotary Inverted Pendulum Bundle (USB)
  • Illustrate the fundamentals of control design, simulation, and mechatronics
  • Balance a vertical rod at the tip of a rotating arm – a classic pendulum control experiment
  • Includes Quanser QNET-011 rotary inverted pendulum trainer/plant
 
NI ELVIS/Quanser HVAC Trainer Bundle (USB)
  • Illustrate concepts covered in fluid dynamics and thermodynamics controls
  • Design control system to regulate temperature in chamber
  • Includes Quanser QNET-012 HVAC trainer/plant
 
NI CompactRIO Academic Bundle
  • Rugged, reconfigurable deployment platform for embedded and control applications
  • Real-time controller to implement time-critical control applications
  • Up to 10 MHz loop rate with digital I/O and up to 200 KHz loop rate with analog I/O

 

   
NI Control Design (ETS) Academic Bundle
  • Reuse existing work by interfacing with other simulation tools
  • Design real-time control design applications with graphical programming
  • Includes PCI-7831R board (FPGA target) and SCB-68 connector block
   
 

Back to top >>

8 ratings | 3.88 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).