Lab 3 - Aero Kit Rotor Speed Control

Scripts

Code snippet for calculating gains according to requirements

% Proportional gain (V.s/rad)

kp = (2*zeta*wn*tau-1)/(K)

% Integral gain (V/rad)

ki = wn^2*tau/K

Models

Variant Subsystem Block

Pasted image 20260325201300.png

Subsystems

Pasted image 20260325201340.png

Results

Given Parameters

K = 19.0; % dc gain
tau = 0.165; % time constant
tp = 0.3; % peak time (s)
PO = 5; % percent overshoot (%)

Calculated Parameters

zeta = 0.6901 % damping ratio
wn = 14.4699 % natural frequency
kp = 0.1208 % proportional gain
ki = 1.8183 % integral gain

Overview

Pasted image 20260325224205.png

Using kp and 1.5ki

Pasted image 20260325230754.png

tp = 0.22; % peak time (s)
PO = 11.7; % % percent overshoot (%)

Using 1.5kp and ki

System is not underdamped
Pasted image 20260325224425.png

Using kp and ki

Pasted image 20260325224517.png

tp = 0.3; % peak time (s)
PO = 5; % percent overshoot (%)

Conclusion

Assets