Plot speed-torque characteristics of motor for the frequency control method in MATLAB.
Make a MATLAB script file that will plot speed-torque characteristics for the frequency control method.
Solution:
%Make a MATLAB script file that will plot speed-torque characteristics
%for the frequency control method.
clear
close all
clc
plane_plot = linspace(0, 700, 200);
w=[0,0];
[t,w]= ode45(@omega, plane_plot, w);
plot(t,w)
xlabel('Time(sec)')
ylabel('Motor Speed(rad/s)')
title('Speed-Torque characteristics ')
Function file:
function [dw_dt] = omega(t,w)
dw_dt= 1-0.01*(w);
end
Result:
