These labs introduce students to measurement, data analysis, and controls in biomedical engineering. Students learn to control a servo based on muscle contraction. Designed for NI ELVIS II/II+.

SKU: ni-labs-059 Categories: , Tags: ,

These labs along with the Quanser QNET Myoelectric add-on board introduce students to measurement, data analysis, and controls in biomedical engineering. In hands-on activities, students acquire, condition, and analyze electromyographic signals, and use a variety of filtering and control methods to control a servo based on the contraction of muscles. This includes experimenting with basic signal processing functions and control schemes, including filtering, rectification, integration, deadzone, and hysteresis. These activities are directly related to common EMG applications, such as myoelectric prosthetics, bioinstrumentation, diagnostic evaluation of muscle and nerve disorders, assisted control in wheelchairs, and unvoiced speed recognition.

Quanser Inc.



  • Student will learn to acquire, condition, and analyze electromyographic data
  • Students will learn how to control a servo based on the contraction of muscles, using filtering and control methods




Level University
Topic Data Acquisition and Control for BME
Style Laboratory
Prerequisite Skills Introductory LabVIEW knowledge, introductory physics and electronics


EMG Sensor Set Up

The electromyogram acquired from the EMG is very qualitative and depends on teh sensor set up. In this lab, students will learn the basics of acquiring an EMG signal using ELVISmx.

Signal Analysis

Students will learn how to process the acquired signal using a linear envelope. Using provided VI's students will examine the power spectrum response when muscles are contracted and relaxed.

Linear Envelope

Students will implement a linear envelope and adjust the cutoff frequency to optimize the response. Students will have to evaluate the trade offs when setting the cutoff frequency.

Servo Direction Change

In this section students will use the EMG signal in a control algorithm to open and close the clamp on the servo. First students control the direction of the servo by implementing a zero-order hold algorithm to reconstruct digital signals.

Servo Position Control

After configuring the servo direction control, students will set the servo position control algorithm. Here students are introduced to PWM servo control and using a dead zone to remove small amplitude signals.

Full Servo Control

Students will combine both position and direction control in this portion of the lab. This section will allow students to evaluate whether or not their design is suitable to control a myoelectic prosthesis.



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...

Learn more



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

Learn more

Quanser QNET Myoelectric Add-On Board

Quanser QNET Myoelectric Add-On Board

This add on board for the NI ELVIS allows students to explore concepts in biomedical engineering. Using the principles of electromyography (EMG), students learn to control a servo motor from the contraction of muscles. EMG applications include myoelectric prosthetics, bioinstrumentation, diagnostic...

Learn more

Detailed Requirements

Required Software

Download Academic Software, Learn About Software Licensing

  • LabVIEW 2011 or later (Requires license)
  • NI DAQmx 9.3.5 or later
  • NI ELVISmx 4.3 or later
  • LabVIEW Control Design and Simulation Module 2011 or later (Requires license)


Required Hardware

Purchase Engineering Education Products

  • NI ELVIS View Specifications
  • Quanser QNET Myoelectric Add-On Board - User manual is included in the main download above


Instructor resources are available.

Get access

Additional information