Skip to content

Search

Search courses, labs, notes, tools…

Guided lab · ECE 3

PID design: error, margins, sampling and wind-up

Tune P and PI speed control of the geared maxon motor, read Bode margins and the root locus, and see what sampling and saturation do

Time
55 min
Bench
Interactive tool

Free. The lab opens after Google sign-in, which also keeps your progress.

Screenshot of the "PID design: error, margins, sampling and wind-up" virtual lab running on the Interactive tool, wired and measuring

What you do in this lab

You will design the speed loop of the maxon RE 25 gearmotor with a digital PI controller. For each change you compare the linear model (what MATLAB’s step, stepinfo and margin give) with the real motor that has friction, a dead-zone, a 24 V limit and an encoder.

Objectives

  • Relate the steady-state error to the system type.
  • Read rise time, settling time and overshoot (MATLAB stepinfo definitions).
  • Read phase and gain margins and explain the cost of sampling.
  • Explain integrator wind-up and anti-windup.

Inside the lab

Step-by-step instructions with wiring checks, the readings you should get, questions with model answers and a short quiz. Sign in to open it.

Unofficial, free student project. Not affiliated with Emona Instruments or with any university. Emona and ETT-101 are trademarks of their owner.