Applied Control Systems - Labs
Practical Laboratory Work
Each lab is designed to assess process as well as final result: setup, safety, data collection, troubleshooting, interpretation, and reporting.
Lab 1 — First-Order System Identification
Goal: Estimate the gain and time constant of a first-order plant from step-response data.
Equipment / tools: Python or MATLAB; optional thermal process or simulated plant.
Tasks
- Apply a step input to the plant.
- Record output data.
- Estimate steady-state gain
K. - Estimate time constant
tauusing the 63.2% method. - Compare measured and simulated responses.
Deliverable: One-page lab report with graph, parameter estimates, and comments.
Lab 2 — Transient Response of a Second-Order System
Goal: Analyse underdamped, critically damped, and overdamped responses.
Tasks
- Simulate three second-order systems with different damping ratios.
- Measure overshoot, rise time, and settling time.
- Explain which response is suitable for a robotic position-control system.
Lab 3 — PID Tuning for a Process System
Goal: Tune P, PI, and PID controllers and compare performance.
Tasks
- Start with proportional control.
- Add integral action to reduce steady-state error.
- Add derivative action to improve damping.
- Compare the results using rise time, overshoot, settling time, and steady-state error.
Assessment focus: Students must justify their gain choices.
Lab 4 — Digital PID Implementation
Goal: Implement a digital PID controller in code.
Tools: C, STM32 or Arduino, or a simulated embedded loop.
Core code structure
float PID_Update(float ref, float y)
{
float e = ref - y;
integral += e * Ts;
float derivative = (e - e_prev) / Ts;
float u = Kp*e + Ki*integral + Kd*derivative;
e_prev = e;
return u;
}
Safety requirement: Apply saturation limits to the controller output.
Lab 5 — DC Motor Speed Control
Goal: Control motor speed using feedback from an encoder.
Tasks
- Read encoder pulses.
- Estimate speed.
- Generate PWM output.
- Tune a PI speed controller.
- Test disturbance rejection by applying a load change.
Report question: Why is PI control often preferred over pure P control for speed regulation?
Lab 6 — Mobile Robot Motion Control
Goal: Design a simple velocity or heading controller for a differential-drive robot.
Tools: ROS2 simulation, Python, or physical robot platform.
Tasks
- Define reference velocity or heading.
- Read simulated odometry.
- Compute error.
- Apply a feedback controller.
- Plot tracking performance.
Final reflection: Discuss how sensor noise and actuator saturation affect real robot performance.
