% servospeed_params.m
clear
clc
format compact

% PID control parameters
Kp = 500
Ki = 0
Kd = 0

% motor parameters
Kt = .0001  % torque constant
Km = .01    % electrical constant
Lm = .001   % armature inductance
Rm = .10    % armature resistance

% load parameters
J = .001    % moment of inertia
B = .001    % damping constant