Designing a PI Controller to Specifications

Virtual instrument students run to control QNET DC Motor speed.
Students learn to design a PI (proportional-integral) compensator based on specifications to control speed. In the lab, students first study the derivation of the transfer function, peak time, and overshoot. Then they complete an in-lab activity to track a reference speed square wave with various PI gains and investigate the effects of set-point weights.
by Quanser Inc.
This is lab 5 of 6 in the course, Labs for Quanser QNET DC Motor Add-On Board.


  • PDF Lab 
  • LabVIEW code


  • PDF Lab Key
  • Completed LabVIEW code


  • Basic LabVIEW familiarity recommended
  • Familiarity with control systems

Related Resources


These labs prepare students with prerequisite skills.


These labs enable students to apply the skills they learn.


LabVIEW is systems engineering software for applications that require test, measurement, and control with rapid access to hardware and data insights.


The NI Educational Laboratory Virtual Instrumentation Suite (NI ELVIS) is a versatile laboratory platform that enables educators to teach over 20 different courses across science and engineering departments. The NI ELVIS integrates 12 common lab instruments including an oscilloscope, function...

Quanser QNET DC Motor Add-On Board

This NI ELVIS add-on board is designed to illustrate the fundamentals of motor control through a series of exercises involving modeling and controlling a DC motor.

Required Software

Download Academic Software, Learn About Software Licensing
  • LabVIEW (Requires license)
  • LabVIEW Control Design and Simulation Toolkit (Requires license)
  • LabVIEW MathScript RT Module (Requires license)
  • NI ELVISmx Device Driver

Required Hardware

Purchase Engineering Education Products
  • NI ELVIS II – View Specifications
  • Quanser QNET DC Motor 2.0 Add-on Board – User manual is included in the main download above


Instructor resources are available. Get access

Log in to submit a comment.