Advertisement
cybereq

Stałomomentowa regulacyjna

Mar 22nd, 2023
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 1.16 KB | None | 0 0
  1. close all;
  2.  
  3. VD = [133; 121.6; 117.8; 114; 96.9; 85.5; 76; 62.7; 47.5; 39.9; 36.1];
  4. w1 = [0; 8.93; 14.92; 18.62; 37.34; 48.74; 61.66; 74.58; 91.49; 98.8; 104.5];
  5. P1 = [171; 171; 171; 209; 218.5; 228; 266; 266; 294.5; 313; 313];
  6. P1M = [247; 228; 228; 228; 228; 228; 247; 266; 266; 275.5; 285];
  7. Mst = [0; 0; 0.02; 0.03; 0.05; 0.05; 0.06; 0.06; 0.09; 0.1; 0.1];
  8.  
  9.  
  10. [X,Y] = polyfit(VD,w1,3);
  11. Ypoly = polyval(X,VD);
  12.  
  13. [X1,Y1] = polyfit(VD,P1,3);
  14. Ypoly1 = polyval(X1,VD);
  15.  
  16. [X2,Y2] = polyfit(Mst,P1M,3);
  17. Ypoly2 = polyval(X2,Mst);
  18.  
  19.  
  20. figure(1)
  21. plot(VD,w1,'b*',VD,Ypoly,'b')
  22. grid on;
  23. xlabel('U_{DC}[V]');
  24. ylabel('ω[rad/s]');
  25. title('Charakterystyka biegu jałowego')
  26. subtitle('ω = f(U_{DC})');
  27. legend('ω = f(U_{DC})','aproksymacja')
  28.  
  29. figure(2)
  30. plot(VD,P1,'b*',VD,Ypoly1,'b')
  31. grid on;
  32. xlabel('U_{DC}[V]');
  33. ylabel('P_{1}[A]');
  34. title('Charakterystyka biegu jałowego')
  35. subtitle('P_{1} = f(U_{DC})');
  36. legend('P_{1} = f(U_{DC})','aproksymacja')
  37.  
  38. figure(3)
  39. plot(Mst,P1M,'b*',Mst,Ypoly2,'b')
  40. grid on;
  41. xlabel('M_{st}[Nm]');
  42. ylabel('P_{IM}[W]');
  43. title('Charakterystyka biegu jałowego')
  44. subtitle('P_{IM} = f(M_{st})');
  45. legend('P_{IM} = f(M_{st})','aproksymacja')
  46.  
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement