EE C128 / ME C134 Feedback Control Systems Lab (Fall 2020)

Lab Guidelines

EE128 Lab / Lab Report Policies (updated Sept. 12, 2020)

Guide to Good Lab Report Writing (updated on Jan 25, 2017)

Useful MATLAB Commands (updated on Jan 25, 2017)

Video introduction to Matlab:

  • 1. Intro to Matlab (10 min)
  • 2. Matlab starters
  • 3. Simulink (5 min)
  • Common Simulink Components (updated on Jan 25, 2017)

    Simulink Configuration (updated on Jan 25, 2017)

    Lab 5/Project Tello Drone

    Tello Drone Safety and Other Information

    Lab Documents

    Lab 1 Intro to MATLAB and Simulink

    Lab 2 Basic Concepts in Control System Design

    Lab 3 "Hardware" and Proportional Control
    Files needed for lab 3: lab3.zip

    Lab 4 Model-based Position Control of a Cart
    Files needed for lab 4: lab4.zip

    Lab 5a: Quadrotor altitude/yaw control
    Files needed for lab 5a: lab5a.zip

    Lab 5b: DJI Tello Control
    Files needed for lab 5b: lab5b_v2.zip (last updated 10/31/2020)
    Previous version(s): lab5b.zip

    Lab 6a: Pole Placement for the Inverted Pendulum
    Files needed for lab 6a: lab6a.zip (Animation function: pendulumAnimation.m)

    Tello MiniProject Project Proposal

    Lab 6bc: Luenberger Observer and LQR Controller Design for Inverted Pendulum
    Files needed for lab 6bc: lab6bc.zip (Animation function: pendulumAnimation.m)

    Tello MiniProject Checkpoint

    Visual tracking tag notes

    miniProject Final Report

    Useful Tips

    1. For the simulation (not hardware experiment) of continuous time system in Simulink, use "ode4" or "ode5" in your Simulink model instead of "ode1" for more accurate simulation. You can also use fixed step size of 0.001(s) or smaller for simulation. (Simulink model -> Simulation -> Configuration Parameters... -> Solver -> ode4 or ode5, Fixed step size -> 0.001)